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

Commit 594943bc authored by Yash Garg's avatar Yash Garg 💬
Browse files

Merge branch '3674-q-fix_split_screen' into 'v1-q'

ButtonSettings: use config_longPressOnAppSwitchBehavior key for default action (Q)

See merge request !25
parents 63be1684 4706e3b8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -207,7 +207,8 @@ public class ButtonSettings extends SettingsPreferenceFragment
                org.lineageos.platform.internal.R.integer.config_longPressOnHomeBehavior));
        Action defaultHomeDoubleTapAction = Action.fromIntSafe(res.getInteger(
                org.lineageos.platform.internal.R.integer.config_doubleTapOnHomeBehavior));
        Action defaultAppSwitchLongPressAction = Action.fromIntSafe(0);
        Action defaultAppSwitchLongPressAction = Action.fromIntSafe(res.getInteger(
                org.lineageos.platform.internal.R.integer.config_longPressOnAppSwitchBehavior));
        Action homeLongPressAction = Action.fromSettings(resolver,
                LineageSettings.System.KEY_HOME_LONG_PRESS_ACTION,
                defaultHomeLongPressAction);