Skip to content
Snippets Groups Projects
Commit 15fd6925 authored by Tommy Webb's avatar Tommy Webb Committed by Dhina17
Browse files

ScreenOffUdfps: Update for U QPR2

Change-Id: I2664d170210b3bde68bd88b2032baed5b27ae780
parent 506f4e6d
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:title="@string/ambient_display_screen_off_udfps_title">
<SwitchPreference
<SwitchPreferenceCompat
android:key="gesture_screen_off_udfps"
android:title="@string/ambient_display_screen_off_udfps_title"
android:summary="@string/ambient_display_screen_off_udfps_summary"
......
......@@ -44,7 +44,7 @@ public class ScreenOffUdfpsSettings extends DashboardFragment {
public void onAttach(Context context) {
super.onAttach(context);
SuggestionFeatureProvider suggestionFeatureProvider =
FeatureFactory.getFactory(context).getSuggestionFeatureProvider();
FeatureFactory.Companion.getFeatureFactory().getSuggestionFeatureProvider();
SharedPreferences prefs = suggestionFeatureProvider.getSharedPrefs(context);
prefs.edit().putBoolean(PREF_KEY_SUGGESTION_COMPLETE, true).apply();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment