Search in sources :

Example 6 with FlagTogglerPrefUi

use of com.android.launcher3.config.FlagTogglerPrefUi in project android_packages_apps_404Launcher by P-404.

the class DeveloperOptionsFragment method initFlags.

private void initFlags() {
    if (!FeatureFlags.showFlagTogglerUi(getContext())) {
        return;
    }
    mFlagTogglerPrefUi = new FlagTogglerPrefUi(this);
    mFlagTogglerPrefUi.applyTo(newCategory("Feature flags"));
}
Also used : FlagTogglerPrefUi(com.android.launcher3.config.FlagTogglerPrefUi)

Example 7 with FlagTogglerPrefUi

use of com.android.launcher3.config.FlagTogglerPrefUi in project Neo-Launcher by NeoApplications.

the class DeveloperOptionsFragment method initFlags.

private void initFlags() {
    if (!FeatureFlags.showFlagTogglerUi(getContext())) {
        return;
    }
    mFlagTogglerPrefUi = new FlagTogglerPrefUi(this);
    mFlagTogglerPrefUi.applyTo(newCategory("Feature flags"));
}
Also used : FlagTogglerPrefUi(com.android.launcher3.config.FlagTogglerPrefUi)

Aggregations

FlagTogglerPrefUi (com.android.launcher3.config.FlagTogglerPrefUi)7