microG: remove unnedeed permission-files

We set permissions in fwb, because they are also needed for the gapps-files
with the same package names.
urubino
Jenna-they-them 9 months ago
parent a0ad2a90e6
commit 1850f1d3c6
  1. 42
      Android.bp
  2. 7
      prebuilt/system/etc/default-permissions/default-permissions-com.android.vending.xml
  3. 7
      prebuilt/system/etc/default-permissions/default-permissions-com.google.android.gms.xml
  4. 7
      prebuilt/system/etc/permissions/privapp-permissions-com.android.vending.xml
  5. 12
      prebuilt/system/etc/permissions/privapp-permissions-com.google.android.gms.xml
  6. 11
      prebuilt/system/etc/sysconfig/sysconfig-com.google.android.gms.xml

@ -9,11 +9,6 @@ android_app_import {
enabled: false,
},
privileged: true,
required: [
"default-permissions-com.google.android.gms.xml",
"privapp-permissions-com.google.android.gms.xml",
"sysconfig-com.google.android.gms.xml"
],
}
android_app_import {
@ -25,10 +20,6 @@ android_app_import {
enabled: false,
},
privileged: true,
required: [
"default-permissions-com.android.vending.xml",
"privapp-permissions-com.android.vending.xml"
],
}
android_app_import {
@ -42,36 +33,3 @@ android_app_import {
privileged: true,
}
prebuilt_etc {
name: "default-permissions-com.google.android.gms.xml",
src: "prebuilt/system/etc/default-permissions/default-permissions-com.google.android.gms.xml",
sub_dir: "default-permissions",
}
prebuilt_etc {
name: "privapp-permissions-com.google.android.gms.xml",
src: "prebuilt/system/etc/permissions/privapp-permissions-com.google.android.gms.xml",
sub_dir: "permissions",
}
prebuilt_etc {
name: "sysconfig-com.google.android.gms.xml",
src: "prebuilt/system/etc/sysconfig/sysconfig-com.google.android.gms.xml",
sub_dir: "sysconfig",
}
prebuilt_etc {
name: "default-permissions-com.android.vending.xml",
src: "prebuilt/system/etc/default-permissions/default-permissions-com.android.vending.xml",
sub_dir: "default-permissions",
}
prebuilt_etc {
name: "privapp-permissions-com.android.vending.xml",
src: "prebuilt/system/etc/permissions/privapp-permissions-com.android.vending.xml",
sub_dir: "permissions",
}

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<exceptions>
<exception package="com.android.vending">
<!-- for permissive signature spoofing, where the permission is "dangerous" -->
<permission name="android.permission.FAKE_PACKAGE_SIGNATURE" fixed="false"/>
</exception>
</exceptions>

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<exceptions>
<exception package="com.google.android.gms">
<!-- for permissive signature spoofing, where the permission is "dangerous" -->
<permission name="android.permission.FAKE_PACKAGE_SIGNATURE" fixed="false"/>
</exception>
</exceptions>

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<privapp-permissions package="com.android.vending">
<!-- for restrictive signature spoofing, where the permission is "signature|privileged" -->
<permission name="android.permission.FAKE_PACKAGE_SIGNATURE"/>
</privapp-permissions>
</permissions>

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<privapp-permissions package="com.google.android.gms">
<!-- for restrictive signature spoofing, where the permission is "signature|privileged" -->
<permission name="android.permission.FAKE_PACKAGE_SIGNATURE"/>
<permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>
<permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
<permission name="android.permission.UPDATE_APP_OPS_STATS"/>
<permission name="android.permission.MANAGE_USB"/>
</privapp-permissions>
</permissions>

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017-2018 ale5000
SPDX-License-Identifer: GPL-3.0-or-later
-->
<config>
<!-- microG GmsCore must always have network access for GCM. -->
<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" />
</config>
Loading…
Cancel
Save