summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2017-01-09 19:46:56 (GMT)
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-01-09 19:46:56 (GMT)
commitd5b0cf61335f382e1e5bf82b346b0ceda5f937e2 (patch)
tree20788f65b89f28457faf339cf64e2e32a9778954
parent8bb255379818d819589fb8ee63927042a4464da2 (diff)
parentf7d0ef9f74ece852c397e4e5c2f617986b24260c (diff)
downloadandroid_packages_apps_PackageInstaller-d5b0cf61335f382e1e5bf82b346b0ceda5f937e2.zip
android_packages_apps_PackageInstaller-d5b0cf61335f382e1e5bf82b346b0ceda5f937e2.tar.gz
android_packages_apps_PackageInstaller-d5b0cf61335f382e1e5bf82b346b0ceda5f937e2.tar.bz2
Merge "Don't set USER_FIXED when revoking a permission inside Settings -> App." into cw-f-dev
-rw-r--r--src/com/android/packageinstaller/permission/ui/wear/AppPermissionsFragmentWear.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/packageinstaller/permission/ui/wear/AppPermissionsFragmentWear.java b/src/com/android/packageinstaller/permission/ui/wear/AppPermissionsFragmentWear.java
index 3161567..9ad5253 100644
--- a/src/com/android/packageinstaller/permission/ui/wear/AppPermissionsFragmentWear.java
+++ b/src/com/android/packageinstaller/permission/ui/wear/AppPermissionsFragmentWear.java
@@ -210,7 +210,7 @@ public final class AppPermissionsFragmentWear extends PreferenceFragment {
if((Boolean) newVal) {
group.grantRuntimePermissions(false, new String[]{ perm.name });
} else {
- group.revokeRuntimePermissions(true, new String[]{ perm.name });
+ group.revokeRuntimePermissions(false, new String[]{ perm.name });
}
return true;
});