Loading src/org/lineageos/lineageparts/input/ButtonSettings.java +2 −1 Original line number Diff line number Diff line Loading @@ -221,7 +221,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 backLongPressAction = Action.fromSettings(resolver, LineageSettings.System.KEY_BACK_LONG_PRESS_ACTION, defaultBackLongPressAction); Loading Loading
src/org/lineageos/lineageparts/input/ButtonSettings.java +2 −1 Original line number Diff line number Diff line Loading @@ -221,7 +221,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 backLongPressAction = Action.fromSettings(resolver, LineageSettings.System.KEY_BACK_LONG_PRESS_ACTION, defaultBackLongPressAction); Loading