Fix udfps auth scrim state

Keep notification scrim of the previous state

Test: manual
Fixes: 187734161
Change-Id: I255c033f0f8dda354b87a263054346765b0de6f5
This commit is contained in:
Beverly
2021-05-11 15:12:10 -04:00
parent 1a21ef3fe1
commit 46ea9f0152

View File

@@ -96,11 +96,14 @@ public enum ScrimState {
AUTH_SCRIMMED {
@Override
public void prepare(ScrimState previousState) {
mFrontTint = Color.BLACK;
mNotifTint = previousState.mNotifTint;
mNotifAlpha = previousState.mNotifAlpha;
mBehindAlpha = 0f;
mBehindTint = previousState.mBehindTint;
mBehindAlpha = previousState.mBehindAlpha;
mFrontTint = Color.BLACK;
mFrontAlpha = .66f;
mBubbleAlpha = 0f;
}
},