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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user