Removed Calls to deprecated APIs and unused imports
Change-Id: Ibaaf3418ec2c97a99495eca7ea546af415370c3e
This commit is contained in:
@@ -75,7 +75,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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user