commit
a0ad2a90e6
@ -0,0 +1,77 @@ |
||||
// |
||||
|
||||
android_app_import { |
||||
name: "GmsCore", |
||||
owner: "microG", |
||||
apk: "prebuilt/system/priv-app/GmsCore.apk", |
||||
presigned: true, |
||||
dex_preopt: { |
||||
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 { |
||||
name: "GmsCompanion", |
||||
owner: "microG", |
||||
apk: "prebuilt/system/priv-app/GmsCompanion.apk", |
||||
presigned: true, |
||||
dex_preopt: { |
||||
enabled: false, |
||||
}, |
||||
privileged: true, |
||||
required: [ |
||||
"default-permissions-com.android.vending.xml", |
||||
"privapp-permissions-com.android.vending.xml" |
||||
], |
||||
} |
||||
|
||||
android_app_import { |
||||
name: "GsfProxy", |
||||
owner: "microG", |
||||
apk: "prebuilt/system/priv-app/GsfProxy.apk", |
||||
presigned: true, |
||||
dex_preopt: { |
||||
enabled: false, |
||||
}, |
||||
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", |
||||
} |
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,7 @@ |
||||
<?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> |
@ -0,0 +1,7 @@ |
||||
<?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> |
@ -0,0 +1,7 @@ |
||||
<?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> |
@ -0,0 +1,12 @@ |
||||
<?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> |
@ -0,0 +1,11 @@ |
||||
<?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> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue