summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriele M <moto.falcon.git@gmail.com>2017-07-12 20:28:13 +0200
committerArne Coucheron <arco68@gmail.com>2017-07-13 22:43:17 +0000
commit5c51d47c10a5af0a9c1b0c8649173eaadc53f93b (patch)
treef136bbe78df74153777db6c757ef75c24e96848e
parent0dbf891c5108359579f31ecf6a2d0e33bae7edba (diff)
downloadandroid_packages_apps_Snap-5c51d47c10a5af0a9c1b0c8649173eaadc53f93b.zip
android_packages_apps_Snap-5c51d47c10a5af0a9c1b0c8649173eaadc53f93b.tar.gz
android_packages_apps_Snap-5c51d47c10a5af0a9c1b0c8649173eaadc53f93b.tar.bz2
Revert some permissions related changes
These permissions are not required, so remove them. Since we no longer declare their use, go back to the default signing key. This will allow to disable the Snap from the settings. This reverts the following commits: 53e8b4a71dd0515d922964 ("SnapdragonCamera: Add missing permissions") bd1d6ea46043e54feca758 ("Snap: Sign with platform key") Change-Id: I54add5781555f1672918817825ea97c8b51e8ded
-rw-r--r--Android.mk2
-rw-r--r--AndroidManifest.xml3
2 files changed, 1 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index e1f3b8e..45701b5 100644
--- a/Android.mk
+++ b/Android.mk
@@ -28,8 +28,6 @@ LOCAL_AAPT_FLAGS := \
LOCAL_PACKAGE_NAME := Snap
LOCAL_PRIVILEGED_MODULE := true
-LOCAL_CERTIFICATE := platform
-
LOCAL_AAPT_FLAGS += --rename-manifest-package org.cyanogenmod.snap
#LOCAL_SDK_VERSION := current
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f53dd7e..235a4a8 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -7,8 +7,7 @@
android:minSdkVersion="23"
android:targetSdkVersion="23" />
- <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
- <uses-permission android:name="android.permission.SET_ORIENTATION" />
+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />