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

Commit 1db30b77 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Assist gesture setting should not be available on unsupported devices

Fixes: 63176246

Test: manual
Change-Id: I17cd338eafd2e1a86d1e82d81bc9817eaf18d57b
parent 4e34839a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ public class AssistGesturePreferenceController extends GesturePreferenceControll
        mPreference = screen.findPreference(getPreferenceKey());
        if (!mFeatureProvider.isSupported(mContext)) {
            mScreen.removePreference(mPreference);
            removePreference(mScreen, getPreferenceKey());
            return;
        }
        // Call super last or AbstractPreferenceController might remove the preference from the