diff options
| author | 2023-06-26 17:20:15 +0000 | |
|---|---|---|
| committer | 2023-06-26 17:20:15 +0000 | |
| commit | 5134b2421997804a8cccc798045457c46114dfe4 (patch) | |
| tree | 0b7ca93e6ed9d01355aec018764a8e323b617321 | |
| parent | 59d74fa26c857196f24d0cfb1426d68c5cd035d1 (diff) | |
[CS] Remove unused ScrimController#setCurrentUser.
Bug: 277764509
Test: compiles
Change-Id: I68ab9e450670313a8c4729d0013e62c98c3d5040
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java | 1 | ||||
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java index 4ae4c52d19ba..7e5ca1e44fa3 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java @@ -2210,7 +2210,6 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces { if (mLockscreenWallpaper != null && !mWallpaperManager.isLockscreenLiveWallpaperEnabled()) { mLockscreenWallpaper.setCurrentUser(newUserId); } - mScrimController.setCurrentUser(newUserId); if (mWallpaperSupported) { mWallpaperChangedReceiver.onReceive(mContext, null); } diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java index 47c4023ca8aa..c16e13cd4af3 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java @@ -1476,10 +1476,6 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, Dump } } - public void setCurrentUser(int currentUser) { - // Don't care in the base class. - } - private void updateThemeColors() { if (mScrimBehind == null) return; int background = Utils.getColorAttr(mScrimBehind.getContext(), |