Merge "Fix CompileTimeConstant ErrorProne findings in SystemUI" into tm-qpr-dev am: f8003e57e4 am: 3726e9b32e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20454887 Change-Id: I2e0e9f3cee3a1fb24ba25c98d5050743cc0aa40e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -5499,8 +5499,11 @@ public final class NotificationPanelViewController implements Dumpable {
|
||||
if (!animatingUnlockedShadeToKeyguard) {
|
||||
// Only make the status bar visible if we're not animating the screen off, since
|
||||
// we only want to be showing the clock/notifications during the animation.
|
||||
mShadeLog.v("Updating keyguard status bar state to "
|
||||
+ (keyguardShowing ? "visible" : "invisible"));
|
||||
if (keyguardShowing) {
|
||||
mShadeLog.v("Updating keyguard status bar state to visible");
|
||||
} else {
|
||||
mShadeLog.v("Updating keyguard status bar state to invisible");
|
||||
}
|
||||
mKeyguardStatusBarViewController.updateViewState(
|
||||
/* alpha= */ 1f,
|
||||
keyguardShowing ? View.VISIBLE : View.INVISIBLE);
|
||||
|
||||
@@ -3733,7 +3733,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable
|
||||
}
|
||||
}
|
||||
|
||||
private void debugLog(@CompileTimeConstant String s) {
|
||||
private void debugLog(@CompileTimeConstant final String s) {
|
||||
if (mLogger == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user