summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2013-07-04 23:23:15 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2013-07-04 23:23:15 -0700
commitd416bd09a9be284b6471f59ff07d6585ab9bc623 (patch)
tree438b597464334efa50ef81f85485968cd353cba8 /services
parenta48d4ed29fa904f065786f9b773b605ad9638e6f (diff)
parentc22d46086ac4a8ef2074530ef342cdf8578198cf (diff)
downloadframeworks_base-d416bd09a9be284b6471f59ff07d6585ab9bc623.zip
frameworks_base-d416bd09a9be284b6471f59ff07d6585ab9bc623.tar.gz
frameworks_base-d416bd09a9be284b6471f59ff07d6585ab9bc623.tar.bz2
Merge "Frameworks: privacy guard fix UI freeze" into cm-10.1
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/pm/PackageManagerService.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/services/java/com/android/server/pm/PackageManagerService.java b/services/java/com/android/server/pm/PackageManagerService.java
index 7702deb..f134854 100644
--- a/services/java/com/android/server/pm/PackageManagerService.java
+++ b/services/java/com/android/server/pm/PackageManagerService.java
@@ -9083,11 +9083,11 @@ public class PackageManagerService extends IPackageManager.Stub {
}
pkgSetting.setPrivacyGuard(enabled, userId);
mSettings.writePackageRestrictionsLPr(userId);
- try {
- ActivityManagerNative.getDefault().forceStopPackage(packageName, userId);
- } catch (RemoteException e) {
- //nothing
- }
+ }
+ try {
+ ActivityManagerNative.getDefault().forceStopPackage(packageName, userId);
+ } catch (RemoteException e) {
+ //nothing
}
}