Loading packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBar.java +0 −1 Original line number Diff line number Diff line Loading @@ -626,7 +626,6 @@ public class NavigationBar extends ViewController<NavigationBarView> implements } }, mainExecutor, bgExecutor); mView.setBackgroundExecutor(bgExecutor); mView.setEdgeBackGestureHandler(mEdgeBackGestureHandler); mNavBarMode = mNavigationModeController.addListener(mModeChangedListener); } Loading packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBarView.java +2 −9 Original line number Diff line number Diff line Loading @@ -88,7 +88,6 @@ import com.android.wm.shell.pip.Pip; import java.io.PrintWriter; import java.util.Map; import java.util.Optional; import java.util.concurrent.Executor; import java.util.function.Consumer; /** */ Loading @@ -98,8 +97,6 @@ public class NavigationBarView extends FrameLayout { final static boolean ALTERNATE_CAR_MODE_UI = false; private Executor mBgExecutor; // The current view is one of mHorizontal or mVertical depending on the current configuration View mCurrentView = null; private View mVertical; Loading Loading @@ -352,10 +349,6 @@ public class NavigationBarView extends FrameLayout { notifyVerticalChangedListener(mIsVertical); } public void setBackgroundExecutor(Executor bgExecutor) { mBgExecutor = bgExecutor; } public void setTouchHandler(Gefingerpoken touchHandler) { mTouchHandler = touchHandler; } Loading Loading @@ -775,8 +768,8 @@ public class NavigationBarView extends FrameLayout { updateSlippery(); reloadNavIcons(); updateNavButtonIcons(); mBgExecutor.execute(() -> WindowManagerWrapper.getInstance() .setNavBarVirtualKeyHapticFeedbackEnabled(!mShowSwipeUpUi)); WindowManagerWrapper.getInstance().setNavBarVirtualKeyHapticFeedbackEnabled( !mShowSwipeUpUi); getHomeButton().setAccessibilityDelegate( mShowSwipeUpUi ? mQuickStepAccessibilityDelegate : null); } Loading Loading
packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBar.java +0 −1 Original line number Diff line number Diff line Loading @@ -626,7 +626,6 @@ public class NavigationBar extends ViewController<NavigationBarView> implements } }, mainExecutor, bgExecutor); mView.setBackgroundExecutor(bgExecutor); mView.setEdgeBackGestureHandler(mEdgeBackGestureHandler); mNavBarMode = mNavigationModeController.addListener(mModeChangedListener); } Loading
packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBarView.java +2 −9 Original line number Diff line number Diff line Loading @@ -88,7 +88,6 @@ import com.android.wm.shell.pip.Pip; import java.io.PrintWriter; import java.util.Map; import java.util.Optional; import java.util.concurrent.Executor; import java.util.function.Consumer; /** */ Loading @@ -98,8 +97,6 @@ public class NavigationBarView extends FrameLayout { final static boolean ALTERNATE_CAR_MODE_UI = false; private Executor mBgExecutor; // The current view is one of mHorizontal or mVertical depending on the current configuration View mCurrentView = null; private View mVertical; Loading Loading @@ -352,10 +349,6 @@ public class NavigationBarView extends FrameLayout { notifyVerticalChangedListener(mIsVertical); } public void setBackgroundExecutor(Executor bgExecutor) { mBgExecutor = bgExecutor; } public void setTouchHandler(Gefingerpoken touchHandler) { mTouchHandler = touchHandler; } Loading Loading @@ -775,8 +768,8 @@ public class NavigationBarView extends FrameLayout { updateSlippery(); reloadNavIcons(); updateNavButtonIcons(); mBgExecutor.execute(() -> WindowManagerWrapper.getInstance() .setNavBarVirtualKeyHapticFeedbackEnabled(!mShowSwipeUpUi)); WindowManagerWrapper.getInstance().setNavBarVirtualKeyHapticFeedbackEnabled( !mShowSwipeUpUi); getHomeButton().setAccessibilityDelegate( mShowSwipeUpUi ? mQuickStepAccessibilityDelegate : null); } Loading