Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17a97d7d authored by Frank Preel's avatar Frank Preel
Browse files

reference to Settings is ambiguous

parent 23d6bea2
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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;
@@ -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;