diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-09-25 14:58:23 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-09-25 14:58:23 -0700 |
commit | 9e8baaab93202587c4c01bcaaba29d39bc35ba67 (patch) | |
tree | 3b971d15f2752a92d22fd49d8cae2891814b9c2e | |
parent | 0973f6426831a24fc9fbd42082edefcfe7ce7968 (diff) | |
download | packages_apps_packageinstaller-9e8baaab93202587c4c01bcaaba29d39bc35ba67.zip packages_apps_packageinstaller-9e8baaab93202587c4c01bcaaba29d39bc35ba67.tar.gz packages_apps_packageinstaller-9e8baaab93202587c4c01bcaaba29d39bc35ba67.tar.bz2 |
Update references to migrated global settings.
Bug: 7231172
Change-Id: Ib6fd133057bdcd40c2cc8699033f548985339aa8
-rw-r--r-- | src/com/android/packageinstaller/PackageInstallerActivity.java | 4 |
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() { |