Browse Source

gapps: Extract from angler-opm5.171019.015

Paul Keith 7 years ago
parent
commit
a71ffefaf7
33 changed files with 41 additions and 109 deletions
  1. 1 1
      arm/Android.mk
  2. 1 1
      arm/BoardConfigVendor.mk
  3. 1 1
      arm/arm-vendor.mk
  4. 1 1
      arm64/Android.mk
  5. 1 1
      arm64/BoardConfigVendor.mk
  6. 1 1
      arm64/arm64-vendor.mk
  7. 10 30
      common/Android.mk
  8. 1 1
      common/BoardConfigVendor.mk
  9. 4 10
      common/common-vendor.mk
  10. BIN
      common/proprietary/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
  11. BIN
      common/proprietary/app/GoogleExtShared/GoogleExtShared.apk
  12. 0 4
      common/proprietary/etc/permissions/com.android.omadm.service.xml
  13. 0 21
      common/proprietary/etc/permissions/com.google.android.media.effects.xml
  14. 0 8
      common/proprietary/etc/permissions/com.google.widevine.software.drm.xml
  15. 17 2
      common/proprietary/etc/sysconfig/google.xml
  16. 0 4
      common/proprietary/etc/sysconfig/google_build.xml
  17. 0 20
      common/proprietary/etc/sysconfig/whitelist_com.android.omadm.service.xml
  18. BIN
      common/proprietary/framework/com.google.android.maps.jar
  19. BIN
      common/proprietary/framework/com.google.android.media.effects.jar
  20. BIN
      common/proprietary/framework/com.google.widevine.software.drm.jar
  21. BIN
      common/proprietary/priv-app/ConfigUpdater/ConfigUpdater.apk
  22. BIN
      common/proprietary/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
  23. BIN
      common/proprietary/priv-app/GoogleExtServices/GoogleExtServices.apk
  24. BIN
      common/proprietary/priv-app/GoogleFeedback/GoogleFeedback.apk
  25. BIN
      common/proprietary/priv-app/GoogleLoginService/GoogleLoginService.apk
  26. BIN
      common/proprietary/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
  27. BIN
      common/proprietary/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
  28. BIN
      common/proprietary/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
  29. BIN
      common/proprietary/priv-app/Phonesky/Phonesky.apk
  30. BIN
      common/proprietary/priv-app/SetupWizard/SetupWizard.apk
  31. 1 1
      x86/Android.mk
  32. 1 1
      x86/BoardConfigVendor.mk
  33. 1 1
      x86/x86-vendor.mk

+ 1 - 1
arm/Android.mk

@@ -1,4 +1,4 @@
-# Copyright (C) 2017 The LineageOS Project
+# Copyright (C) 2017-2018 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.

+ 1 - 1
arm/BoardConfigVendor.mk

@@ -1,4 +1,4 @@
-# Copyright (C) 2017 The LineageOS Project
+# Copyright (C) 2017-2018 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.

+ 1 - 1
arm/arm-vendor.mk

@@ -1,4 +1,4 @@
-# Copyright (C) 2017 The LineageOS Project
+# Copyright (C) 2017-2018 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.

+ 1 - 1
arm64/Android.mk

@@ -1,4 +1,4 @@
-# Copyright (C) 2017 The LineageOS Project
+# Copyright (C) 2017-2018 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.

+ 1 - 1
arm64/BoardConfigVendor.mk

@@ -1,4 +1,4 @@
-# Copyright (C) 2017 The LineageOS Project
+# Copyright (C) 2017-2018 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.

+ 1 - 1
arm64/arm64-vendor.mk

@@ -1,4 +1,4 @@
-# Copyright (C) 2017 The LineageOS Project
+# Copyright (C) 2017-2018 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.

+ 10 - 30
common/Android.mk

@@ -1,4 +1,4 @@
-# Copyright (C) 2017 The LineageOS Project
+# Copyright (C) 2017-2018 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
 
 LOCAL_PATH := $(call my-dir)
 
-ifneq ($(filter arm arm64 x86,$(TARGET_ARCH)),)
+ifneq ($(filter arm arm64 x86,$(TARGET_DEVICE)),)
 
 include $(CLEAR_VARS)
 LOCAL_MODULE := GoogleCalendarSyncAdapter
@@ -52,9 +52,9 @@ LOCAL_MODULE_SUFFIX := .apk
 include $(BUILD_PREBUILT)
 
 include $(CLEAR_VARS)
-LOCAL_MODULE := GoogleBackupTransport
+LOCAL_MODULE := ConfigUpdater
 LOCAL_MODULE_OWNER := gapps
-LOCAL_SRC_FILES := proprietary/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
+LOCAL_SRC_FILES := proprietary/priv-app/ConfigUpdater/ConfigUpdater.apk
 LOCAL_CERTIFICATE := PRESIGNED
 LOCAL_MODULE_TAGS := optional
 LOCAL_MODULE_CLASS := APPS
@@ -64,9 +64,9 @@ LOCAL_PRIVILEGED_MODULE := true
 include $(BUILD_PREBUILT)
 
 include $(CLEAR_VARS)
-LOCAL_MODULE := GoogleExtServices
+LOCAL_MODULE := GoogleBackupTransport
 LOCAL_MODULE_OWNER := gapps
-LOCAL_SRC_FILES := proprietary/priv-app/GoogleExtServices/GoogleExtServices.apk
+LOCAL_SRC_FILES := proprietary/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
 LOCAL_CERTIFICATE := PRESIGNED
 LOCAL_MODULE_TAGS := optional
 LOCAL_MODULE_CLASS := APPS
@@ -76,9 +76,9 @@ LOCAL_PRIVILEGED_MODULE := true
 include $(BUILD_PREBUILT)
 
 include $(CLEAR_VARS)
-LOCAL_MODULE := GoogleFeedback
+LOCAL_MODULE := GoogleExtServices
 LOCAL_MODULE_OWNER := gapps
-LOCAL_SRC_FILES := proprietary/priv-app/GoogleFeedback/GoogleFeedback.apk
+LOCAL_SRC_FILES := proprietary/priv-app/GoogleExtServices/GoogleExtServices.apk
 LOCAL_CERTIFICATE := PRESIGNED
 LOCAL_MODULE_TAGS := optional
 LOCAL_MODULE_CLASS := APPS
@@ -88,9 +88,9 @@ LOCAL_PRIVILEGED_MODULE := true
 include $(BUILD_PREBUILT)
 
 include $(CLEAR_VARS)
-LOCAL_MODULE := GoogleLoginService
+LOCAL_MODULE := GoogleFeedback
 LOCAL_MODULE_OWNER := gapps
-LOCAL_SRC_FILES := proprietary/priv-app/GoogleLoginService/GoogleLoginService.apk
+LOCAL_SRC_FILES := proprietary/priv-app/GoogleFeedback/GoogleFeedback.apk
 LOCAL_CERTIFICATE := PRESIGNED
 LOCAL_MODULE_TAGS := optional
 LOCAL_MODULE_CLASS := APPS
@@ -169,24 +169,4 @@ LOCAL_MODULE_CLASS := JAVA_LIBRARIES
 LOCAL_MODULE_SUFFIX := .jar
 include $(BUILD_PREBUILT)
 
-include $(CLEAR_VARS)
-LOCAL_MODULE := com.google.android.media.effects
-LOCAL_MODULE_OWNER := gapps
-LOCAL_SRC_FILES := proprietary/framework/com.google.android.media.effects.jar
-LOCAL_CERTIFICATE := PRESIGNED
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_CLASS := JAVA_LIBRARIES
-LOCAL_MODULE_SUFFIX := .jar
-include $(BUILD_PREBUILT)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := com.google.widevine.software.drm
-LOCAL_MODULE_OWNER := gapps
-LOCAL_SRC_FILES := proprietary/framework/com.google.widevine.software.drm.jar
-LOCAL_CERTIFICATE := PRESIGNED
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_CLASS := JAVA_LIBRARIES
-LOCAL_MODULE_SUFFIX := .jar
-include $(BUILD_PREBUILT)
-
 endif

+ 1 - 1
common/BoardConfigVendor.mk

@@ -1,4 +1,4 @@
-# Copyright (C) 2017 The LineageOS Project
+# Copyright (C) 2017-2018 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.

+ 4 - 10
common/common-vendor.mk

@@ -1,4 +1,4 @@
-# Copyright (C) 2017 The LineageOS Project
+# Copyright (C) 2017-2018 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -15,27 +15,21 @@
 # This file is generated by device/gapps//setup-makefiles.sh
 
 PRODUCT_COPY_FILES += \
-    vendor/gapps/common/proprietary/etc/permissions/com.android.omadm.service.xml:system/etc/permissions/com.android.omadm.service.xml \
     vendor/gapps/common/proprietary/etc/permissions/com.google.android.maps.xml:system/etc/permissions/com.google.android.maps.xml \
-    vendor/gapps/common/proprietary/etc/permissions/com.google.android.media.effects.xml:system/etc/permissions/com.google.android.media.effects.xml \
-    vendor/gapps/common/proprietary/etc/permissions/com.google.widevine.software.drm.xml:system/etc/permissions/com.google.widevine.software.drm.xml \
     vendor/gapps/common/proprietary/etc/sysconfig/google.xml:system/etc/sysconfig/google.xml \
-    vendor/gapps/common/proprietary/etc/sysconfig/google_build.xml:system/etc/sysconfig/google_build.xml \
-    vendor/gapps/common/proprietary/etc/sysconfig/whitelist_com.android.omadm.service.xml:system/etc/sysconfig/whitelist_com.android.omadm.service.xml
+    vendor/gapps/common/proprietary/etc/sysconfig/google_build.xml:system/etc/sysconfig/google_build.xml
 
 PRODUCT_PACKAGES += \
     GoogleCalendarSyncAdapter \
     GoogleContactsSyncAdapter \
     GoogleExtShared \
+    ConfigUpdater \
     GoogleBackupTransport \
     GoogleExtServices \
     GoogleFeedback \
-    GoogleLoginService \
     GoogleOneTimeInitializer \
     GooglePartnerSetup \
     GoogleServicesFramework \
     Phonesky \
     SetupWizard \
-    com.google.android.maps \
-    com.google.android.media.effects \
-    com.google.widevine.software.drm
+    com.google.android.maps

BIN
common/proprietary/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk


BIN
common/proprietary/app/GoogleExtShared/GoogleExtShared.apk


+ 0 - 4
common/proprietary/etc/permissions/com.android.omadm.service.xml

@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<permissions>
-    <assign-permission name="com.android.permission.INJECT_OMADM_SETTINGS" uid="shell" />
-</permissions>

+ 0 - 21
common/proprietary/etc/permissions/com.google.android.media.effects.xml

@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2011 The Android Open Source Project
-
-     Licensed under the Apache License, Version 2.0 (the "License");
-     you may not use this file except in compliance with the License.
-     You may obtain a copy of the License at
-  
-          http://www.apache.org/licenses/LICENSE-2.0
-  
-     Unless required by applicable law or agreed to in writing, software
-     distributed under the License is distributed on an "AS IS" BASIS,
-     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-     See the License for the specific language governing permissions and
-     limitations under the License.
--->
-
-<permissions>
-    <library name="com.google.android.media.effects"
-            file="/system/framework/com.google.android.media.effects.jar" />
-
-</permissions>

+ 0 - 8
common/proprietary/etc/permissions/com.google.widevine.software.drm.xml

@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-      Copyright (C) 2011 Google, Inc.  All Rights Reserved
--->
-<permissions>
-    <library name="com.google.widevine.software.drm"
-        file="/system/framework/com.google.widevine.software.drm.jar"/>
-</permissions>

+ 17 - 2
common/proprietary/etc/sysconfig/google.xml

@@ -22,6 +22,20 @@
     <!-- GmsCore must always have network access for GCM and other things. -->
     <allow-in-power-save package="com.google.android.gms" />
     <allow-in-data-usage-save package="com.google.android.gms" />
+    <allow-unthrottled-location package="com.google.android.gms" />
+
+    <!-- OobConfig must always have network access to fetch enterprise and carrier lock config. -->
+    <allow-in-power-save-except-idle package="com.google.android.apps.work.oobconfig" />
+    <allow-in-data-usage-save package="com.google.android.apps.work.oobconfig" />
+
+    <!-- Certain broadcasts must still go to legacy implicit receivers -->
+    <allow-implicit-broadcast action="com.google.android.checkin.CHECKIN_COMPLETE" />
+    <allow-implicit-broadcast action="com.google.gservices.intent.action.GSERVICES_CHANGED" />
+    <allow-implicit-broadcast action="com.google.gservices.intent.action.GSERVICES_OVERRIDE" />
+    <allow-implicit-broadcast action="com.google.android.c2dm.intent.RECEIVE" />
+    <!-- TODO: This is a temporary workaround for allowing GmsCore to receive this broadcast.
+         This can be removed once OneTimeInitializer functionality is moved to GmsCore. -->
+    <allow-implicit-broadcast action="com.google.android.onetimeinitializer.ONE_TIME_INITIALIZED" />
 
     <!-- Play Store likewise must have network access to support other applications. -->
     <allow-in-power-save-except-idle package="com.android.vending" />
@@ -60,6 +74,7 @@
     <system-user-whitelisted-app package="com.google.android.gms" />
     <system-user-whitelisted-app package="com.google.android.gms.policy_auth" />
     <system-user-whitelisted-app package="com.google.android.play.games" />
+    <system-user-whitelisted-app package="com.google.android.tts" />
 
     <!-- These are the packages that are uninstalled for system user -->
     <!-- Apps below are required on all GMS devices -->
@@ -69,10 +84,10 @@
 
     <!-- Whitelist of what components are permitted as backup data transports.  The
          'service' attribute here is a flattened ComponentName string. -->
-    <backup-transport-whitelisted-service
-        service="android/com.android.internal.backup.LocalTransportService" />
     <backup-transport-whitelisted-service
         service="com.google.android.gms/.backup.BackupTransportService" />
     <backup-transport-whitelisted-service
         service="com.google.android.gms/.backup.component.D2dTransportService" />
+
+
 </config>

+ 0 - 4
common/proprietary/etc/sysconfig/google_build.xml

@@ -21,8 +21,4 @@
     <feature name="com.google.android.feature.GOOGLE_EXPERIENCE" />
     <!-- This should declare the version of Exchange that ships -->
     <feature name="com.google.android.feature.EXCHANGE_6_2" />
-
-      <!-- If the tycho app is pre-installed and a matching sim inserted,
-         it temporarily needs internet for messaging, etc -->
-    <allow-in-power-save package="com.google.android.apps.tycho" />
 </config>

+ 0 - 20
common/proprietary/etc/sysconfig/whitelist_com.android.omadm.service.xml

@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2015 The Android Open Source Project
-
-     Licensed under the Apache License, Version 2.0 (the "License");
-     you may not use this file except in compliance with the License.
-     You may obtain a copy of the License at
-
-          http://www.apache.org/licenses/LICENSE-2.0
-
-     Unless required by applicable law or agreed to in writing, software
-     distributed under the License is distributed on an "AS IS" BASIS,
-     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-     See the License for the specific language governing permissions and
-     limitations under the License.
--->
-
-<!-- The OMA DM service must be whitelisted so they are always able to run. -->
-<config>
-    <allow-in-power-save package="com.android.omadm.service" />
-</config>

BIN
common/proprietary/framework/com.google.android.maps.jar


BIN
common/proprietary/framework/com.google.android.media.effects.jar


BIN
common/proprietary/framework/com.google.widevine.software.drm.jar


BIN
common/proprietary/priv-app/ConfigUpdater/ConfigUpdater.apk


BIN
common/proprietary/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk


BIN
common/proprietary/priv-app/GoogleExtServices/GoogleExtServices.apk


BIN
common/proprietary/priv-app/GoogleFeedback/GoogleFeedback.apk


BIN
common/proprietary/priv-app/GoogleLoginService/GoogleLoginService.apk


BIN
common/proprietary/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk


BIN
common/proprietary/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk


BIN
common/proprietary/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk


BIN
common/proprietary/priv-app/Phonesky/Phonesky.apk


BIN
common/proprietary/priv-app/SetupWizard/SetupWizard.apk


+ 1 - 1
x86/Android.mk

@@ -1,4 +1,4 @@
-# Copyright (C) 2017 The LineageOS Project
+# Copyright (C) 2017-2018 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.

+ 1 - 1
x86/BoardConfigVendor.mk

@@ -1,4 +1,4 @@
-# Copyright (C) 2017 The LineageOS Project
+# Copyright (C) 2017-2018 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.

+ 1 - 1
x86/x86-vendor.mk

@@ -1,4 +1,4 @@
-# Copyright (C) 2017 The LineageOS Project
+# Copyright (C) 2017-2018 The LineageOS Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.