Loading src/org/lineageos/lineageparts/input/ButtonSettings.java +2 −1 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
src/org/lineageos/lineageparts/input/ButtonSettings.java +2 −1 Original line number Diff line number Diff line Loading @@ -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); Loading