merge from open-source master

Change-Id: Id9c258165d9bb326271218a562d782fa52608213
This commit is contained in:
The Android Open Source Project
2010-05-19 09:12:47 -07:00
3 changed files with 4 additions and 12 deletions

View File

@@ -124,7 +124,7 @@ public class ApplicationSettings extends PreferenceActivity implements
}
public void onClick(DialogInterface dialog, int which) {
if (dialog == mWarnInstallApps && which == DialogInterface.BUTTON1) {
if (dialog == mWarnInstallApps && which == DialogInterface.BUTTON_POSITIVE) {
setNonMarketAppsAllowed(true);
mToggleAppInstallation.setChecked(true);
}