Loading packages/SystemUI/src/com/android/systemui/statusbar/car/FullscreenUserSwitcher.java +10 −0 Original line number Diff line number Diff line Loading @@ -74,6 +74,15 @@ public class FullscreenUserSwitcher { automaticallySelectUser(); }); // Any interaction with the screen should cancel the timer. mContainer.setOnClickListener(v -> { cancelTimer(); }); mUserGridView.setOnTouchListener((v, e) -> { cancelTimer(); return false; }); mSwitchingUsers = mParent.findViewById(R.id.switching_users); } Loading Loading @@ -152,6 +161,7 @@ public class FullscreenUserSwitcher { if (mTimer != null) { mTimer.cancel(); mTimer = null; mProgressBar.setProgress(0, true /* animate */); } } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/car/FullscreenUserSwitcher.java +10 −0 Original line number Diff line number Diff line Loading @@ -74,6 +74,15 @@ public class FullscreenUserSwitcher { automaticallySelectUser(); }); // Any interaction with the screen should cancel the timer. mContainer.setOnClickListener(v -> { cancelTimer(); }); mUserGridView.setOnTouchListener((v, e) -> { cancelTimer(); return false; }); mSwitchingUsers = mParent.findViewById(R.id.switching_users); } Loading Loading @@ -152,6 +161,7 @@ public class FullscreenUserSwitcher { if (mTimer != null) { mTimer.cancel(); mTimer = null; mProgressBar.setProgress(0, true /* animate */); } } Loading