问题描述
GtsOsTestCases
com.google.android.os.gts.MainlineModulePreloadTest
com.google.android.os.gts com.google.android.os.gts.MainlineConfigurationTest#testMainlineApprovedTrain
解决方案
Q1: Mainline release 是什麼? What is Mainline release?Ans: Google 列進 Mainline scope 的 module 會由 Google 出 prebuilt binary 並 release 給有 GMS license 的廠商, Android 10 要過 Google GMS 認證需要 preload Mainline release, 也就是要用 Google build 的 binary, 不能用客戶修改過、客戶自己用 AOSP build 出的 binary。
From Android 10, we need to preload Mainline release into our SW load to pass xTS to obtain GMS certification. It means Google will release prebuilt binary for modules in Mainline scope to Android partners who have GMS lincense and Android partners must use Google Mainline release and cannot use binaries built by Android partners.