From 5134b2421997804a8cccc798045457c46114dfe4 Mon Sep 17 00:00:00 2001 From: Caitlin Shkuratov Date: Mon, 26 Jun 2023 17:20:15 +0000 Subject: [PATCH] [CS] Remove unused ScrimController#setCurrentUser. Bug: 277764509 Test: compiles Change-Id: I68ab9e450670313a8c4729d0013e62c98c3d5040 --- .../android/systemui/statusbar/phone/CentralSurfacesImpl.java | 1 - .../com/android/systemui/statusbar/phone/ScrimController.java | 4 ---- 2 files changed, 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 4ae4c52d19baf..7e5ca1e44fa3e 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 47c4023ca8aac..c16e13cd4af3f 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(),