MainlineModule

问题描述

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。

继续阅读“MainlineModule”

GMS 最近通知汇总

1
GTS7.0R2于2019/9/17号之后开始使用。
GTS7.0R2 will start to use on 2019/9/17
2
CTS9.0 R9, 8.1 R16, 8.0 R20, 7.1 R28, 7.0 R32于2019/9/19号开始使用。
CTS9.0 R9, 8.1 R16, 8.0 R20, 7.1 R28, 7.0 R32 will start to use on 2019/9/19.
3
8月27号之,GMS Core版本必须更新到v17.4.x以上.
GMS core version must higher than V17.4.x after Aug 27th.

继续阅读“GMS 最近通知汇总”

New options available for devices distributed in Turkey

Starting August 6, 2019, there will be an optional MADA addendum that provides new alternatives for devices distributed in Turkey. You can continue to do business as usual in Turkey under your existing MADA if you do not want to adopt the choices offered in the addendum.

Under the optional MADA addendum, you can adopt any of the following changes on a device-by-device basis:

继续阅读“New options available for devices distributed in Turkey”

Security considerations for Extended Camera Actions

Google Assistant supports the capability to trigger Device Actions, which partners can integrate with their camera apps. If you wish to take advantage of this feature, you should follow the detailed implementation instructions described in Extended Camera Actions.

继续阅读“Security considerations for Extended Camera Actions”

speechservices version 1.07, Trade Fed documentation, Mobile Bundled Apps (MBA) Content Policy, and Pre-grant Permissions Policy

Avoid speechservices version 1.07 in your builds

 

We have recently discovered a bug in com.google.android.apps.speechservices version 1.07. This core app was included in our most recent GMS bundle.

We are in the process of rolling back com.google.android.apps.speechservices to the previous version 1.06. It will be available soon as we update the GMS bundle. 

继续阅读“speechservices version 1.07, Trade Fed documentation, Mobile Bundled Apps (MBA) Content Policy, and Pre-grant Permissions Policy”

GTS 7.0 R1 and R2 update, PAI campaign attribution, test suite releases, Qualcomm/Borqs, BTS PHA detection

Please review and act upon the following announcements:

PAI Campaign Attribution parameter

Play Auto Installs (PAI) now supports a new attribution parameter (utmCampaign). This attribution parameter can be read by an installed app using the Play Install Referrer API. For details, see Config APK XML files.

Test suites releases and required-use date; List of CTS waiver patches for next releases

This month, we have updated releases for the test suites listed below, as well as the GMS package.

继续阅读“GTS 7.0 R1 and R2 update, PAI campaign attribution, test suite releases, Qualcomm/Borqs, BTS PHA detection”

Gallery Go, GOTA, IANA tzdb 2019b, and GSIs with August SPLs

Gallery Go product launch and GMS requirements

 

Recently we launched Gallery Go - a smart, offline-first, gallery app designed to address the key pain points users have on entry-level devices and in connectivity challenged environments. 

Starting Nov 4th, 2019, Gallery Go will become a mandatory app for Android Go devices. We will update the GMS requirements accordingly. 

In line with your feedback, Gallery Go is fast, light, and works offline using on-device machine learning to deliver modern gallery functionality to more users on Android Go. You can learn more in our blog post

继续阅读“Gallery Go, GOTA, IANA tzdb 2019b, and GSIs with August SPLs”

[GMS Announcements] Extending GMS Approval Windows for Android P and Android Go

Extending GMS Approval Windows for Android P and Android Go

The public release of Android Q to the Android Open Source Project (AOSP) is expected in early September, 2019. We are updating the GMS Launch Approval Windows schedule for Android P to align with the updated Q release schedule. Please review the updated schedule for theGMS Approval Windows and let us know for any questions.

继续阅读“[GMS Announcements] Extending GMS Approval Windows for Android P and Android Go”

[Android GMS Announcements 0712] Waiver proposal in APA and Updates to Digital Wellbeing and Parental Controls GMS Requirements

Waiver proposal in Android Partner Approvals portal

We’re trying to make the Android build approval process quick and smooth. To achieve this goal, our portal team is working hard to introduce a new feature in Android Partner Approvals (APA) portal (previously called APFE) called Waiver Proposal.

The Waiver Proposal user guide provides details on this feature and its use.

继续阅读“[Android GMS Announcements 0712] Waiver proposal in APA and Updates to Digital Wellbeing and Parental Controls GMS Requirements”

[Android GMS Announcements-0703] Soong build system instructions available and GooglePackageInstaller security update

Soong build system instructions available

 

All available documentation for the Soong build system is now linked from the Set up > Build tab of source.android.com. In addition, more detailed source control documentation has been moved from the Set up > Download tab to Set up > Create to simplify initial configuration. 

继续阅读“[Android GMS Announcements-0703] Soong build system instructions available and GooglePackageInstaller security update”

[Android GMS Announcements-0628] Disabling GPP, APA waiver, and API warnings

Old GMS Core Version Disabling GPP

 

We are following up on our intention to increase enforcement for devices that have pre-installed apps that modify sensitive security settings, such as Google Play Protect (GPP). Older versions of GMS Core (prior to v17.4.x) include this behavior.

Please be aware that if a build you have submitted or plan to submit for approval contains an older version of GMS Core (prior to v17.4.x), it will be considered to contain a PHA (Potentially Harmful Application) and may render the device not eligible for a GMS approval.

继续阅读“[Android GMS Announcements-0628] Disabling GPP, APA waiver, and API warnings”

[Android GMS Announcements-0624] High uplink traffic issue from old Android devices

High uplink traffic issue from old Android devices

 

On June 13th, we received reports that the Android System was consuming significant data traffic on Android 5.1 devices. After analysing the issue, we found the high uplink traffic is from the mDNS system daemon. A recently added feature in Google Play services Version 17.1.22 used the NsdManager APIs which triggered a latent bug that existed in older versions of Android (i.e., pre-Android 8.0). The real issue is the old mDNS code -- mDNS can go into an infinite loop on some pre-Android 8.0 devices.

继续阅读“[Android GMS Announcements-0624] High uplink traffic issue from old Android devices”

[Android GMS Announcements-0620] Digital Well-being and Parental Controls and Android Auto headless stub APK

Digital Well-being and Parental Controls - GMS Requirements Preview

 

Upcoming GMS Requirements update for Android Q will feature Digital Well-being and Parental Controls, which we published in the Android Q Documentation page in the GMS Help Center for your preview.

继续阅读“[Android GMS Announcements-0620] Digital Well-being and Parental Controls and Android Auto headless stub APK”

[Android GMS Announcements-0530] Disabling SELinux, Android Auto headless APK, and Using the vbmeta.img

Disabling SELinux in Build Packages or Binaries

 

Please be aware that if a package or binary in your software build executes “setenforce 0”, it is considered as a PHA (Potentially Harmful Application) and may render the device into a state that is considered as a violation of the Android CDD section 9.7 [C-1-2] and [C-1-3]  requirement(s).

继续阅读“[Android GMS Announcements-0530] Disabling SELinux, Android Auto headless APK, and Using the vbmeta.img”

Android Bootcamp 2019 videos now available

Android Bootcamp 2019 videos now available

 

Videos from 2019 Android Bootcamp are now available and have been added to the Bootcamp folder linked from the Android Partners Help Center. The Android Bootcamp material provides a deep dive into the latest features and explores forthcoming development.

继续阅读“Android Bootcamp 2019 videos now available”