Loading java/src/com/android/inputmethod/latin/LatinIME.java +5 −5 Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ import com.android.inputmethod.latin.utils.StatsUtils; import com.android.inputmethod.latin.utils.StatsUtilsManager; import com.android.inputmethod.latin.utils.SubtypeLocaleUtils; import com.android.inputmethod.latin.utils.ViewLayoutUtils; import android.provider.Settings; import android.content.ContentResolver; import java.io.FileDescriptor; Loading Loading @@ -890,10 +890,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen Log.d(TAG, "isSetupWizardFinished"); ContentResolver contentResolver = mDisplayContext.getContentResolver(); Log.d(TAG, "isSetupWizardFinished 2"); boolean isDeviceProvisioned = Settings.Global.getInt(contentResolver, Settings.Global.DEVICE_PROVISIONED, 0) == 1; boolean isUserSetupComplete = Settings.Secure.getInt(contentResolver, Settings.Secure.USER_SETUP_COMPLETE, 0) == 1; boolean isDeviceProvisioned = android.provider.Settings.Global.getInt(contentResolver, android.provider.Settings.Global.DEVICE_PROVISIONED, 0) == 1; boolean isUserSetupComplete = android.provider.Settings.Secure.getInt(contentResolver, android.provider.Settings.Secure.USER_SETUP_COMPLETE, 0) == 1; Log.d(TAG, "isSetupWizardFinished " + isDeviceProvisioned + " " + isUserSetupComplete); return isDeviceProvisioned && isUserSetupComplete; Loading Loading
java/src/com/android/inputmethod/latin/LatinIME.java +5 −5 Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ import com.android.inputmethod.latin.utils.StatsUtils; import com.android.inputmethod.latin.utils.StatsUtilsManager; import com.android.inputmethod.latin.utils.SubtypeLocaleUtils; import com.android.inputmethod.latin.utils.ViewLayoutUtils; import android.provider.Settings; import android.content.ContentResolver; import java.io.FileDescriptor; Loading Loading @@ -890,10 +890,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen Log.d(TAG, "isSetupWizardFinished"); ContentResolver contentResolver = mDisplayContext.getContentResolver(); Log.d(TAG, "isSetupWizardFinished 2"); boolean isDeviceProvisioned = Settings.Global.getInt(contentResolver, Settings.Global.DEVICE_PROVISIONED, 0) == 1; boolean isUserSetupComplete = Settings.Secure.getInt(contentResolver, Settings.Secure.USER_SETUP_COMPLETE, 0) == 1; boolean isDeviceProvisioned = android.provider.Settings.Global.getInt(contentResolver, android.provider.Settings.Global.DEVICE_PROVISIONED, 0) == 1; boolean isUserSetupComplete = android.provider.Settings.Secure.getInt(contentResolver, android.provider.Settings.Secure.USER_SETUP_COMPLETE, 0) == 1; Log.d(TAG, "isSetupWizardFinished " + isDeviceProvisioned + " " + isUserSetupComplete); return isDeviceProvisioned && isUserSetupComplete; Loading