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

Commit e55785e6 authored by Satoshi Kataoka's avatar Satoshi Kataoka
Browse files

New flag for the internal settings

Change-Id: I81e69a6cda833a0d2c59a73388321ed11e0bd5b3
parent 2040090b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ import com.android.inputmethodcommon.InputMethodSettingsFragment;

public class Settings extends InputMethodSettingsFragment
        implements SharedPreferences.OnSharedPreferenceChangeListener {
    public static final boolean ENABLE_EXPERIMENTAL_SETTINGS = false;
    public static final boolean ENABLE_INTERNAL_SETTINGS = ProductionFlag.IS_INTERNAL;

    // In the same order as xml/prefs.xml
    public static final String PREF_GENERAL_SETTINGS = "general_settings";
@@ -220,7 +220,7 @@ public class Settings extends InputMethodSettingsFragment

        final boolean showUsabilityStudyModeOption =
                res.getBoolean(R.bool.config_enable_usability_study_mode_option)
                        || ProductionFlag.IS_EXPERIMENTAL || ENABLE_EXPERIMENTAL_SETTINGS;
                        || ProductionFlag.IS_EXPERIMENTAL || ENABLE_INTERNAL_SETTINGS;
        final Preference usabilityStudyPref = findPreference(PREF_USABILITY_STUDY_MODE);
        if (!showUsabilityStudyModeOption) {
            if (usabilityStudyPref != null) {
+1 −0
Original line number Diff line number Diff line
@@ -22,4 +22,5 @@ public final class ProductionFlag {
    }

    public static final boolean IS_EXPERIMENTAL = false;
    public static final boolean IS_INTERNAL = false;
}