Delete legacy code

Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Change-Id: I81463eee0af4fa0dfb1e71d94c033e67ee3bd7df
diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
index 3c9cca2..3ed2fe1 100644
--- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
+++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
@@ -487,7 +487,7 @@
         private FakeHandler mHandler;
         private boolean mAnimationCancelled;
 
-        public SynchronousScrimController(LightBarController lightBarController,
+        SynchronousScrimController(LightBarController lightBarController,
                 ScrimView scrimBehind, ScrimView scrimInFront, View headsUpScrim,
                 Consumer<Integer> scrimVisibleListener, DozeParameters dozeParameters,
                 AlarmManager alarmManager) {
@@ -496,7 +496,7 @@
             mHandler = new FakeHandler(Looper.myLooper());
         }
 
-        public void finishAnimationsImmediately() {
+        void finishAnimationsImmediately() {
             boolean[] animationFinished = {false};
             setOnAnimationFinished(()-> animationFinished[0] = true);
 
@@ -515,7 +515,7 @@
             }
         }
 
-        public boolean wasAnimationJustCancelled() {
+        boolean wasAnimationJustCancelled() {
             final boolean wasCancelled = mAnimationCancelled;
             mAnimationCancelled = false;
             return wasCancelled;