summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2015-01-27 18:24:14 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2015-01-28 00:55:27 -0800
commitba37d51c1ddc20b0b8472a2eee768a2d024f4fff (patch)
tree234b64e47c6a49620ddcdc84334527d52584ae23
parent23016e7422fbe2072c1757bc9b85be06cfd62ae9 (diff)
downloadandroid_packages_apps_Gallery2-ba37d51c1ddc20b0b8472a2eee768a2d024f4fff.tar.gz
android_packages_apps_Gallery2-ba37d51c1ddc20b0b8472a2eee768a2d024f4fff.tar.bz2
android_packages_apps_Gallery2-ba37d51c1ddc20b0b8472a2eee768a2d024f4fff.zip
Gallery2: Grant permission to read/write files of Settings.
Set photo of "user" via statusbar->more settings fails, because that Gallery2 does not have the permission to read and write files of Settings. Grant read and write Settings permission to Gallery2. Change-Id: Ifcc5b4d8d938960296c4fa9d0f7f302d353c3197 CRs-Fixed: 785671
-rw-r--r--AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4c9bf20cb..9ccac2dc7 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -20,6 +20,7 @@
<manifest android:versionCode="40030"
android:versionName="1.1.40030"
xmlns:android="http://schemas.android.com/apk/res/android"
+ android:sharedUserId="android.uid.system"
package="com.android.gallery3d">
<original-package android:name="com.android.gallery3d" />