Loading packages/SystemUI/src/com/android/keyguard/KeyguardAbsKeyInputViewController.java +1 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ public abstract class KeyguardAbsKeyInputViewController<T extends KeyguardAbsKey @Override public void reset() { super.reset(); // start fresh mDismissing = false; mView.resetPasswordText(false /* animate */, false /* announce */); Loading packages/SystemUI/src/com/android/keyguard/KeyguardInputViewController.java +1 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,7 @@ public abstract class KeyguardInputViewController<T extends KeyguardInputView> @Override public void reset() { mMessageAreaController.setMessage("", false); } @Override Loading packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBouncerViewBinder.kt +0 −8 Original line number Diff line number Diff line Loading @@ -104,14 +104,6 @@ object KeyguardBouncerViewBinder { } } launch { viewModel.showWithFullExpansion.collect { model -> hostViewController.resetSecurityContainer() hostViewController.showPromptReason(model.promptReason) hostViewController.onResume() } } launch { viewModel.hide.collect { hostViewController.cancelDismissAction() Loading packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/KeyguardBouncerViewModel.kt +0 −6 Original line number Diff line number Diff line Loading @@ -22,10 +22,8 @@ import com.android.systemui.keyguard.data.BouncerViewDelegate import com.android.systemui.keyguard.domain.interactor.PrimaryBouncerInteractor import com.android.systemui.keyguard.shared.model.BouncerShowMessageModel import com.android.systemui.keyguard.shared.model.KeyguardBouncerModel import com.android.systemui.statusbar.phone.KeyguardBouncer.EXPANSION_VISIBLE import javax.inject.Inject import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.filter import kotlinx.coroutines.flow.map /** Models UI state for the lock screen bouncer; handles user input. */ Loading @@ -44,10 +42,6 @@ constructor( /** Observe whether bouncer is showing. */ val show: Flow<KeyguardBouncerModel> = interactor.show /** Observe visible expansion when bouncer is showing. */ val showWithFullExpansion: Flow<KeyguardBouncerModel> = interactor.show.filter { it.expansionAmount == EXPANSION_VISIBLE } /** Observe whether bouncer is hiding. */ val hide: Flow<Unit> = interactor.hide Loading packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java +2 −1 Original line number Diff line number Diff line Loading @@ -930,7 +930,8 @@ public class KeyguardIndicationController { if (mStatusBarKeyguardViewManager.isBouncerShowing()) { if (mStatusBarKeyguardViewManager.isShowingAlternateBouncer()) { return; // udfps affordance is highlighted, no need to show action to unlock } else if (mKeyguardUpdateMonitor.isFaceEnrolled()) { } else if (!mKeyguardUpdateMonitor.getIsFaceAuthenticated() && mKeyguardUpdateMonitor.isFaceEnrolled()) { String message = mContext.getString(R.string.keyguard_retry); mStatusBarKeyguardViewManager.setKeyguardMessage(message, mInitialTextColorState); } Loading Loading
packages/SystemUI/src/com/android/keyguard/KeyguardAbsKeyInputViewController.java +1 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ public abstract class KeyguardAbsKeyInputViewController<T extends KeyguardAbsKey @Override public void reset() { super.reset(); // start fresh mDismissing = false; mView.resetPasswordText(false /* animate */, false /* announce */); Loading
packages/SystemUI/src/com/android/keyguard/KeyguardInputViewController.java +1 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,7 @@ public abstract class KeyguardInputViewController<T extends KeyguardInputView> @Override public void reset() { mMessageAreaController.setMessage("", false); } @Override Loading
packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardBouncerViewBinder.kt +0 −8 Original line number Diff line number Diff line Loading @@ -104,14 +104,6 @@ object KeyguardBouncerViewBinder { } } launch { viewModel.showWithFullExpansion.collect { model -> hostViewController.resetSecurityContainer() hostViewController.showPromptReason(model.promptReason) hostViewController.onResume() } } launch { viewModel.hide.collect { hostViewController.cancelDismissAction() Loading
packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/KeyguardBouncerViewModel.kt +0 −6 Original line number Diff line number Diff line Loading @@ -22,10 +22,8 @@ import com.android.systemui.keyguard.data.BouncerViewDelegate import com.android.systemui.keyguard.domain.interactor.PrimaryBouncerInteractor import com.android.systemui.keyguard.shared.model.BouncerShowMessageModel import com.android.systemui.keyguard.shared.model.KeyguardBouncerModel import com.android.systemui.statusbar.phone.KeyguardBouncer.EXPANSION_VISIBLE import javax.inject.Inject import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.filter import kotlinx.coroutines.flow.map /** Models UI state for the lock screen bouncer; handles user input. */ Loading @@ -44,10 +42,6 @@ constructor( /** Observe whether bouncer is showing. */ val show: Flow<KeyguardBouncerModel> = interactor.show /** Observe visible expansion when bouncer is showing. */ val showWithFullExpansion: Flow<KeyguardBouncerModel> = interactor.show.filter { it.expansionAmount == EXPANSION_VISIBLE } /** Observe whether bouncer is hiding. */ val hide: Flow<Unit> = interactor.hide Loading
packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java +2 −1 Original line number Diff line number Diff line Loading @@ -930,7 +930,8 @@ public class KeyguardIndicationController { if (mStatusBarKeyguardViewManager.isBouncerShowing()) { if (mStatusBarKeyguardViewManager.isShowingAlternateBouncer()) { return; // udfps affordance is highlighted, no need to show action to unlock } else if (mKeyguardUpdateMonitor.isFaceEnrolled()) { } else if (!mKeyguardUpdateMonitor.getIsFaceAuthenticated() && mKeyguardUpdateMonitor.isFaceEnrolled()) { String message = mContext.getString(R.string.keyguard_retry); mStatusBarKeyguardViewManager.setKeyguardMessage(message, mInitialTextColorState); } Loading