diff options
| -rw-r--r-- | src/com/android/incallui/ModButtonPresenter.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/incallui/ModButtonPresenter.java b/src/com/android/incallui/ModButtonPresenter.java index 4c7eec1a..82111825 100644 --- a/src/com/android/incallui/ModButtonPresenter.java +++ b/src/com/android/incallui/ModButtonPresenter.java @@ -562,10 +562,8 @@ public class ModButtonPresenter extends Presenter<ModButtonPresenter.ModButtonUi }; private boolean isDeviceProvisionedInSettingsDb(Context context) { - return (CMSettings.Secure.getInt(context.getContentResolver(), - CMSettings.Secure.CM_SETUP_WIZARD_COMPLETED, 0) != 0) && - (Settings.Global.getInt(context.getContentResolver(), - Settings.Global.DEVICE_PROVISIONED, 0) != 0); + return Settings.Global.getInt(context.getContentResolver(), + Settings.Global.DEVICE_PROVISIONED, 0) != 0; } private class NoteCallInfo { |
