use of com.android.settings.dashboard.suggestions.SuggestionFeatureProvider in project Resurrection_packages_apps_Settings by ResurrectionRemix.
the class DoubleTapScreenSettings method onAttach.
@Override
public void onAttach(Context context) {
super.onAttach(context);
SuggestionFeatureProvider suggestionFeatureProvider = FeatureFactory.getFactory(context).getSuggestionFeatureProvider(context);
SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context);
prefs.edit().putBoolean(PREF_KEY_SUGGESTION_COMPLETE, true).apply();
use(DoubleTapScreenPreferenceController.class).setConfig(new AmbientDisplayConfiguration(context));
}
use of com.android.settings.dashboard.suggestions.SuggestionFeatureProvider in project Resurrection_packages_apps_Settings by ResurrectionRemix.
the class DoubleTwistGestureSettings method onAttach.
@Override
public void onAttach(Context context) {
super.onAttach(context);
SuggestionFeatureProvider suggestionFeatureProvider = FeatureFactory.getFactory(context).getSuggestionFeatureProvider(context);
SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context);
prefs.edit().putBoolean(PREF_KEY_SUGGESTION_COMPLETE, true).apply();
}
use of com.android.settings.dashboard.suggestions.SuggestionFeatureProvider in project android_packages_apps_Settings by omnirom.
the class SwipeToNotificationSettings method onAttach.
@Override
public void onAttach(Context context) {
super.onAttach(context);
SuggestionFeatureProvider suggestionFeatureProvider = FeatureFactory.getFactory(context).getSuggestionFeatureProvider(context);
SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context);
prefs.edit().putBoolean(PREF_KEY_SUGGESTION_COMPLETE, true).apply();
}
use of com.android.settings.dashboard.suggestions.SuggestionFeatureProvider in project android_packages_apps_Settings by omnirom.
the class TapScreenGestureSettings method onAttach.
@Override
public void onAttach(Context context) {
super.onAttach(context);
SuggestionFeatureProvider suggestionFeatureProvider = FeatureFactory.getFactory(context).getSuggestionFeatureProvider(context);
SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context);
prefs.edit().putBoolean(PREF_KEY_SUGGESTION_COMPLETE, true).apply();
use(TapScreenGesturePreferenceController.class).setConfig(new AmbientDisplayConfiguration(context));
}
use of com.android.settings.dashboard.suggestions.SuggestionFeatureProvider in project android_packages_apps_Settings by omnirom.
the class PickupGestureSettings method onAttach.
@Override
public void onAttach(Context context) {
super.onAttach(context);
SuggestionFeatureProvider suggestionFeatureProvider = FeatureFactory.getFactory(context).getSuggestionFeatureProvider(context);
SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context);
prefs.edit().putBoolean(PREF_KEY_SUGGESTION_COMPLETE, true).apply();
use(PickupGesturePreferenceController.class).setConfig(new AmbientDisplayConfiguration(context));
}
Aggregations