Settings: Re-add stop tracking listener in gesture navigation

Requires framework change:
c8d5f0f684

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
Pranav Vashi
2025-09-01 00:54:54 +05:30
committed by Joey
parent f16254a14c
commit dfc76ce8f2

View File

@@ -244,7 +244,10 @@ public class GestureNavigationSettingsFragment extends DashboardFragment {
mIndicatorView.setIndicatorWidth(mCurrentRightWidth, false);
mIndicatorView.setIndicatorWidth(mCurrentLefttWidth, true);
}
return true;
});
pref.setOnPreferenceChangeStopListener((p,v) -> {
final float scale = mBackGestureInsetScales[(int) v];
if (key == GESTURE_BACK_HEIGHT_KEY) {
mIndicatorView.setIndicatorWidth(0, false);