Verified Commit 0a72ff27 authored by nezorflame's avatar nezorflame

Merge branch 'ten'

- removed FaceUnlock and old files
- updated apps from Pixel 2XL/4XL Q images
- added overlays for Pixel Launcher, Dialer and Digital Wellbeing compatibility
- updated default permissions
parents 6a343638 899afcb9
......@@ -18,6 +18,8 @@ build/
# Local configuration file (sdk path, etc)
local.properties
.vscode
.DS_Store
# Proguard folder generated by Eclipse
proguard/
......
......@@ -16,7 +16,6 @@ Open the system.raw.img using a disk-mount application
---
Import the following apks from the Nexus image using the add_sourceapp.sh:
/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
/app/FaceLock/FaceLock.apk
/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
/priv-app/GoogleFeedback/GoogleFeedback.apk
/priv-app/GoogleLoginService/GoogleLoginService.apk
......@@ -25,8 +24,6 @@ Import the following apks from the Nexus image using the add_sourceapp.sh:
/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
/priv-app/SetupWizard/SetupWizard.apk
/priv-app/TagGoogle/TagGoogle.apk
/lib/libfacelock_jni.so
/lib/libfilterpack_facedetect.so
/lib/libjni_latinimegoogle.so
---
......
......@@ -57,6 +57,27 @@
<permission name="android.permission.READ_PHONE_NUMBERS" fixed="false"/>
</exception>
<exception
package="com.google.android.projection.gearhead"
sha256-cert-digest="FD:B0:0C:43:DB:DE:8B:51:CB:31:2A:A8:1D:3B:5F:A1:77:13:AD:B9:4B:28:F5:98:D7:7F:8E:B8:9D:AC:EE:DF">
<!-- Gearhead legacy -->
<permission name="android.permission.READ_PHONE_STATE" fixed="false"/>
<permission name="android.permission.CALL_PHONE" fixed="false"/>
<permission name="android.permission.READ_CALL_LOG" fixed="false"/>
<permission name="android.permission.READ_CONTACTS" fixed="false"/>
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
<permission name="android.permission.RECEIVE_SMS" fixed="false"/>
<permission name="android.permission.SEND_SMS" fixed="false"/>
<permission name="android.permission.RECORD_AUDIO" fixed="false"/>
<permission name="android.permission.READ_CALENDAR" fixed="false"/>
<!-- For Top Gear -->
<permission name="android.permission.PROCESS_OUTGOING_CALLS" fixed="false"/>
<permission name="android.permission.READ_SMS" fixed="false"/>
<permission name="android.permission.RECEIVE_MMS" fixed="false"/>
<permission name="android.permission.WRITE_CALL_LOG" fixed="false"/>
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
</exception>
<exception
package="com.google.android.apps.restore"
sha256-cert-digest="56:BE:13:2B:78:06:56:FE:24:44:CD:34:32:6E:B5:D7:AA:C9:1D:20:96:AB:F0:FE:67:3A:99:27:06:22:EC:87">
......@@ -66,6 +87,8 @@
<!-- Contacts -->
<permission name="android.permission.READ_CONTACTS" fixed="false"/>
<permission name="android.permission.WRITE_CONTACTS" fixed="false"/>
<!-- Location -->
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
</exception>
<exception
......@@ -90,6 +113,31 @@
<permission name="android.permission.READ_PHONE_STATE" fixed="false"/>
</exception>
<exception package="com.google.android.settings.intelligence">
<!-- Calendar -->
<permission name="android.permission.READ_CALENDAR" fixed="true"/>
<!-- Location -->
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="true"/>
<permission name="android.permission.ACCESS_BACKGROUND_LOCATION" fixed="true"/>
</exception>
<exception package="com.google.android.wfcactivation">
<!-- SMS -->
<permission name="android.permission.RECEIVE_WAP_PUSH" fixed="false"/>
</exception>
<exception package="com.google.android.cbrsnetworkmonitor">
<!-- Location access to create CBRS geofences-->
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="true"/>
</exception>
<exception package="com.google.android.apps.scone">
<!-- NLP Location access to determine proximity to country border -->
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<!-- Used to call ActivityTransition API for Smart OOS & Smart PNO -->
<permission name="android.permission.ACTIVITY_RECOGNITION" fixed="false"/>
</exception>
<exception
package="com.google.vr.apps.ornament"
sha256-cert-digest="4A:9E:3F:3B:C8:D6:0C:E4:D3:CB:E5:A9:C6:6E:EC:11:EF:D0:1C:5F:E9:C7:8D:8C:92:3B:9D:42:48:23:00:13">
......@@ -119,11 +167,4 @@
<permission name="android.permission.READ_SMS" fixed="false"/>
</exception>
<exception package="com.google.android.settings.intelligence">
<!-- Calendar -->
<permission name="android.permission.READ_CALENDAR" fixed="true"/>
<!-- Location -->
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="true"/>
</exception>
</exceptions>
......@@ -28,12 +28,6 @@
The exceptions below have been set by Open GApps as factory defaults
-->
<exception
package="com.android.facelock">
<!-- Camera -->
<permission name="android.permission.CAMERA" fixed="false"/>
</exception>
<exception
package="com.android.vending">
<!-- Contacts -->
......@@ -107,6 +101,13 @@
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
</exception>
<exception
package="com.google.android.apps.nexuslauncher">
<!-- Status bar -->
<permission name="android.permission.MANAGE_ACTIVITY_STACKS" fixed="false"/>
<permission name="android.permission.STATUS_BAR" fixed="false"/>
</exception>
<exception
package="com.google.android.backuptransport">
<!-- Contacts -->
......@@ -319,6 +320,11 @@
<permission name="android.permission.ADD_VOICEMAIL" fixed="false"/>
<permission name="android.permission.USE_SIP" fixed="false"/>
<permission name="android.permission.PROCESS_OUTGOING_CALLS" fixed="false"/>
<!-- Location -->
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<!-- Network -->
<permission name="android.permission.REQUEST_NETWORK_SCORES" fixed="false"/>
</exception>
<exception
......@@ -385,4 +391,9 @@
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
</exception>
<exception
package="com.google.android.apps.wellbeing">
<permission name="android.permission.SUSPEND_APPS" fixed="false"/>
</exception>
</exceptions>
......@@ -4,9 +4,9 @@
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.
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 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>
<split-permission name="com.google.android.gms.permission.ACTIVITY_RECOGNITION"
targetSdk="29">
<new-permission name="android.permission.ACTIVITY_RECOGNITION" />
</split-permission>
</permissions>
......@@ -29,7 +29,6 @@ This XML file declares which platform apps that need to access internal APIs.
<hidden-api-whitelisted-app package="com.android.car.setupwizardlib.robotests" />
<hidden-api-whitelisted-app package="com.android.cardock" />
<hidden-api-whitelisted-app package="com.android.connectivity.metrics" />
<hidden-api-whitelisted-app package="com.android.facelock" />
<hidden-api-whitelisted-app package="com.android.google.gce.gceservice" />
<hidden-api-whitelisted-app package="com.android.hotwordenrollment.okgoogle" />
<hidden-api-whitelisted-app package="com.android.hotwordenrollment.tgoogle" />
......@@ -51,6 +50,7 @@ This XML file declares which platform apps that need to access internal APIs.
<hidden-api-whitelisted-app package="com.google.SSRestartDetector" />
<hidden-api-whitelisted-app package="com.google.android.apps.nexuslauncher" />
<hidden-api-whitelisted-app package="com.google.android.apps.turbo" />
<hidden-api-whitelisted-app package="com.google.android.apps.wallpaper" />
<hidden-api-whitelisted-app package="com.google.android.asdiv" />
<hidden-api-whitelisted-app package="com.google.android.athome.globalkeyinterceptor" />
<hidden-api-whitelisted-app package="com.google.android.car.bugreport" />
......@@ -76,8 +76,10 @@ This XML file declares which platform apps that need to access internal APIs.
<hidden-api-whitelisted-app package="com.google.android.hiddenmenu" />
<hidden-api-whitelisted-app package="com.google.android.onetimeinitializer" />
<hidden-api-whitelisted-app package="com.google.android.packageinstaller" />
<hidden-api-whitelisted-app package="com.google.android.permissioncontroller" />
<hidden-api-whitelisted-app package="com.google.android.partner.provisioning" />
<hidden-api-whitelisted-app package="com.google.android.partnersetup" />
<hidden-api-whitelisted-app package="com.google.android.pixel.setupwizard" />
<hidden-api-whitelisted-app package="com.google.android.preloaded_drawable_viewer" />
<hidden-api-whitelisted-app package="com.google.android.printservice.recommendation" />
<hidden-api-whitelisted-app package="com.google.android.sampledeviceowner" />
......@@ -98,6 +100,7 @@ This XML file declares which platform apps that need to access internal APIs.
<hidden-api-whitelisted-app package="com.google.modemservice" />
<hidden-api-whitelisted-app package="com.htc.omadm.trigger" />
<hidden-api-whitelisted-app package="com.qualcomm.qcrilmsgtunnel" />
<hidden-api-whitelisted-app package="com.ustwo.lwp" />
<hidden-api-whitelisted-app package="org.chromium.arc.accessibilityhelper" />
<hidden-api-whitelisted-app package="org.chromium.arc.apkcacheprovider" />
<hidden-api-whitelisted-app package="org.chromium.arc.applauncher" />
......
......@@ -23,6 +23,7 @@
<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" />
<allow-ignore-location-settings 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" />
......@@ -93,5 +94,13 @@
<backup-transport-whitelisted-service
service="com.google.android.gms/.backup.component.D2dTransportService" />
<!-- Specify the explicit set of other applications that AI services are allowed to
interact with, including the providers that back the implementation of the APIs
provided by the package. -->
<allow-association target="com.google.android.as" allowed="com.android.providers.contacts" />
<allow-association target="com.google.android.as" allowed="com.android.providers.media" />
<allow-association target="com.google.android.as" allowed="com.android.providers.telephony" />
<allow-association target="com.google.android.as" allowed="com.android.systemui" />
<allow-association target="com.google.android.as" allowed="com.google.android.gms" />
<allow-association target="com.google.android.as" allowed="com.google.android.gsf" />
</config>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" package="com.opengapps.actionsservicesoverlay" platformBuildVersionCode="28" platformBuildVersionName="9">
<overlay android:isStatic="true" android:priority="3" android:targetPackage="android"/>
<application android:hasCode="false" android:label="Actions Services overlay"/>
</manifest>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_defaultAppPredictionService">com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiPredictionService</string>
<string name="config_defaultContentSuggestionsService">com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiContentSuggestionsService</string>
<string name="config_defaultSystemCaptionsManagerService">com.google.android.as/com.google.android.apps.miphone.aiai.captions.SystemCaptionsManagerService</string>
<string name="config_defaultSystemCaptionsService">com.google.android.as/com.google.android.apps.miphone.aiai.captions.CaptionsService</string>
<string name="config_defaultTextClassifierPackage">com.google.android.as</string>
</resources>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" package="com.opengapps.phoneoverlay" platformBuildVersionCode="28" platformBuildVersionName="9">
<overlay android:isStatic="true" android:priority="1" android:targetPackage="com.android.phone"/>
<application android:hasCode="false" android:label="Phone Services overlay" />
</manifest>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="ui_default_package">com.google.android.dialer</string>
<string name="dialer_default_class">com.google.android.dialer.extensions.GoogleDialtactsActivity</string>
</resources>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" package="com.opengapps.pixellauncheroverlay" platformBuildVersionCode="28" platformBuildVersionName="9">
<overlay android:isStatic="true" android:priority="2" android:targetPackage="android"/>
<application android:hasCode="false" android:label="Pixel Launcher overlay"/>
</manifest>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_recentsComponentName">com.google.android.apps.nexuslauncher/com.android.quickstep.RecentsActivity</string>
<string name="config_secondaryHomeComponent">com.google.android.apps.nexuslauncher/com.android.launcher3.SecondaryDisplayLauncher</string>
</resources>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" package="com.opengapps.telecomoverlay" platformBuildVersionCode="28" platformBuildVersionName="9">
<overlay android:isStatic="true" android:priority="1" android:targetPackage="com.android.server.telecom"/>
<application android:hasCode="false" android:label="Call Management overlay" />
</manifest>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="ui_default_package">com.google.android.dialer</string>
<string name="dialer_default_class">com.google.android.dialer.extensions.GoogleDialtactsActivity</string>
</resources>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" package="com.opengapps.wellbeingoverlay" platformBuildVersionCode="28" platformBuildVersionName="9">
<overlay android:isStatic="true" android:priority="1" android:targetPackage="android"/>
<application android:hasCode="false" android:label="Digital Wellbeing overlay"/>
</manifest>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_defaultWellbeingPackage">com.google.android.apps.wellbeing</string>
</resources>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment