summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-09-25 17:02:54 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-25 17:02:55 -0700
commit4dca31bdc6ef612c8c77af14dc5f700c32fa938e (patch)
tree3854d7cff0c6189efe00e88dec7f07dab1fa84eb
parentd99b9d51b0566ff280664f75e32a68dd6cca7ed3 (diff)
parent9e8baaab93202587c4c01bcaaba29d39bc35ba67 (diff)
downloadpackages_apps_packageinstaller-4dca31bdc6ef612c8c77af14dc5f700c32fa938e.zip
packages_apps_packageinstaller-4dca31bdc6ef612c8c77af14dc5f700c32fa938e.tar.gz
packages_apps_packageinstaller-4dca31bdc6ef612c8c77af14dc5f700c32fa938e.tar.bz2
Merge "Update references to migrated global settings." into jb-mr1-dev
-rw-r--r--src/com/android/packageinstaller/PackageInstallerActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/packageinstaller/PackageInstallerActivity.java b/src/com/android/packageinstaller/PackageInstallerActivity.java
index 93a52df..d3b2a94 100644
--- a/src/com/android/packageinstaller/PackageInstallerActivity.java
+++ b/src/com/android/packageinstaller/PackageInstallerActivity.java
@@ -429,8 +429,8 @@ public class PackageInstallerActivity extends Activity implements OnCancelListen
}
private boolean isInstallingUnknownAppsAllowed() {
- return Settings.Secure.getInt(getContentResolver(),
- Settings.Secure.INSTALL_NON_MARKET_APPS, 0) > 0;
+ return Settings.Global.getInt(getContentResolver(),
+ Settings.Global.INSTALL_NON_MARKET_APPS, 0) > 0;
}
private void initiateInstall() {