mirror of https://gitlab.com/Nanolx/NanoDroid
parent
f70a9e6971
commit
c3a766b542
@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2017 ale5000
|
||||
This file was created by ale5000 (ale5000-git on GitHub).
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version, w/ zip exception.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<!-- This file contains permissions to be granted by default.
|
||||
Default permissions are granted to special platform components and to apps
|
||||
that are approved to get default grants.
|
||||
The special components are apps that are expected to work out-of-the-box
|
||||
as they provide core use cases. These grants are managed by the platform.
|
||||
Fixed permissions cannot be controlled by the user and need a special
|
||||
approval. Typically these are to ensure either legally mandated functions
|
||||
or the app is considered a part of the OS.
|
||||
|
||||
Granting these permissions could prevent issues on some ROMs or
|
||||
on non-clean installations.
|
||||
-->
|
||||
<exceptions>
|
||||
<exception package="com.google.android.gms">
|
||||
<!-- Phone -->
|
||||
<permission name="android.permission.READ_PHONE_STATE" fixed="false"></permission>
|
||||
<!-- Account -->
|
||||
<permission name="android.permission.GET_ACCOUNTS" fixed="false"></permission>
|
||||
<!-- Location -->
|
||||
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"></permission>
|
||||
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"></permission>
|
||||
<!-- Storage -->
|
||||
<permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"></permission>
|
||||
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"></permission>
|
||||
<!-- Fake Signature Spoofing -->
|
||||
<permission name="android.permission.FAKE_PACKAGE_SIGNATURE" fixed="false"></permission>
|
||||
</exception>
|
||||
|
||||
<exception package="com.google.android.gsf">
|
||||
<permission name="com.google.android.c2dm.permission.RECEIVE" fixed="false"></permission>
|
||||
<permission name="com.google.android.c2dm.permission.SEND" fixed="false"></permission>
|
||||
</exception>
|
||||
|
||||
<exception package="com.android.vending">
|
||||
<!-- Phone -->
|
||||
<permission name="android.permission.READ_PHONE_STATE" fixed="false"></permission>
|
||||
<!-- Account -->
|
||||
<permission name="android.permission.GET_ACCOUNTS" fixed="false"></permission>
|
||||
<!-- Location -->
|
||||
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"></permission>
|
||||
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"></permission>
|
||||
<!-- Storage -->
|
||||
<permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"></permission>
|
||||
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"></permission>
|
||||
<!-- Fake Signature Spoofing -->
|
||||
<permission name="android.permission.FAKE_PACKAGE_SIGNATURE" fixed="false"></permission>
|
||||
</exception>
|
||||
|
||||
<exception package="org.microg.gms.droidguard">
|
||||
<permission name="android.permission.INTERNET" fixed="false"></permission>
|
||||
</exception>
|
||||
|
||||
<exception package="org.microg.nlp.backend.ichnaea">
|
||||
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"></permission>
|
||||
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"></permission>
|
||||
<permission name="android.permission.ACCESS_NETWORK_STATE" fixed="false"></permission>
|
||||
<permission name="android.permission.ACCESS_WIFI_STATE" fixed="false"></permission>
|
||||
<permission name="android.permission.CHANGE_WIFI_STATE" fixed="false"></permission>
|
||||
<permission name="android.permission.INTERNET" fixed="false"></permission>
|
||||
<permission name="android.permission.READ_PHONE_STATE" fixed="false"></permission>
|
||||
</exception>
|
||||
|
||||
<exception package="org.fitchfamily.android.dejavu">
|
||||
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"></permission>
|
||||
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"></permission>
|
||||
<permission name="android.permission.ACCESS_WIFI_STATE" fixed="false"></permission>
|
||||
<permission name="android.permission.CHANGE_WIFI_STATE" fixed="false"></permission>
|
||||
</exception>
|
||||
|
||||
<exception package="org.microg.nlp.backend.nominatim">
|
||||
<permission name="android.permission.INTERNET" fixed="false"></permission>
|
||||
</exception>
|
||||
</exceptions>
|
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 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.
|
||||
-->
|
||||
|
||||
<!-- This is the standard set of features for an auto-focus camera. -->
|
||||
<permissions>
|
||||
<feature name="com.google.android.feature.GOOGLE_BUILD" />
|
||||
<!-- This should be added to all Nexus and GPe devices -->
|
||||
<feature name="com.google.android.feature.GOOGLE_EXPERIENCE" />
|
||||
</permissions>
|
||||
|
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2017 ale5000
|
||||
This file was created by ale5000 (ale5000-git on GitHub).
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version, w/ zip exception.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<config>
|
||||
<!-- These are the packages that are white-listed to always have internet
|
||||
access while in power save mode, even if they aren't in the foreground. -->
|
||||
<allow-in-power-save package="com.google.android.gms"></allow-in-power-save>
|
||||
</config>
|
Loading…
Reference in New Issue