GMS中常见的App说明

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xiaoyantan/article/details/84583915

下面提到的app,可在GMS 中 常见应用的package name 中根据apk name 找到对应app name 和package name

一、从gms.mk中可以看到app可以大体分为三类:

  1. GMS mandatory core packages
  2. GMS mandatory application packages
  3. GMS optional application packages

第一类是主要的一些核心app或服务(必不可少),平常接触的比较多的是:GmsCore 、Phonesky、SetupWizard、WebViewGoogle

第二类也是madatory 的一些app,基本上都是Launcher上可找到图标的,一般也不会少

第三类是可选应用,看需求保留或删除

二、GoogleActionsService 和 GoogleSpeechServices 的预装问题

这两个app是从2018-10 GMS EEA开始出现的

可查看EEA GMS 配置 中相关内容,我们目前选择EEA的类型是type4c(gms_eea_type4c.mk)预装了Chrome & Google Search, EEA Build Requirements 中有提到:

Builds without the Google app (Type 1, 2)
EEA Builds for regular Android devices, if they did not preload the Google app, MUST preload the following 2 Google Confidential and Proprietary - Do not share headless apps:

  • GoogleSpeechServices ( com.google.android.apps.speechservices )
  • GoogleActionsService ( com.google.android.apps.actionsservice )
    these apps MUST NOT be preloaded if the Google app was preloaded.

三、Android P上的一些区别

可查看GMS P Initial Release Notes 了解

1、P上增加了一些core app :AndroidPlatformServices、GoogleRestore、Device Health Services (Turbo)

2、GoogleContacts is Non-privileged ,其实2018-10 GMS 开始 8.1上也不再是特权app了。

3、AndroidPlatformServices、GoogleRestore 在P之前都是GmsCore的一部分,9.0 and later 分离出来了

4、关于Turbo这个,在原生Android one上是必须预置的,详细可参考文档Integrating Turbo apk - 20180816.pdf

其他一些区别包括EEA的都可以看相关Release Notes :https://support.google.com/androidpartners_gms/answer/6173316?hl=en&ref_topic=6173346

猜你喜欢

转载自blog.csdn.net/xiaoyantan/article/details/84583915