File tree Expand file tree Collapse file tree
packages/SystemUI/src/com/android/systemui/biometrics Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,10 +113,16 @@ public void onFingerDown() {
113113 if (mFodGestureEnable && !mScreenTurnedOn ) {
114114 if (mDozeEnabled ) {
115115 mHandler .post (() -> mContext .sendBroadcast (new Intent (DOZE_INTENT )));
116+ if (mIsRecognizingAnimEnabled ) {
117+ mHandler .post (() -> mFODAnimation .showFODanimation ());
118+ }
116119 } else {
117120 mWakeLock .acquire (3000 );
118121 mHandler .post (() -> mPowerManager .wakeUp (SystemClock .uptimeMillis (),
119122 PowerManager .WAKE_REASON_GESTURE , FODCircleView .class .getSimpleName ()));
123+ if (mIsRecognizingAnimEnabled ) {
124+ mHandler .post (() -> mFODAnimation .showFODanimation ());
125+ }
120126 }
121127 mPressPending = true ;
122128 } else {
@@ -127,6 +133,10 @@ public void onFingerDown() {
127133 @ Override
128134 public void onFingerUp () {
129135 mHandler .post (() -> hideCircle ());
136+ if (mIsRecognizingAnimEnabled ) {
137+ mFODAnimation .setAnimationKeyguard (false );
138+ mHandler .post (() -> mFODAnimation .hideFODanimation ());
139+ }
130140 if (mPressPending ) {
131141 mPressPending = false ;
132142 }
@@ -194,6 +204,11 @@ public void onScreenTurnedOn() {
194204 mHandler .post (() -> showCircle ());
195205 mPressPending = false ;
196206 }
207+
208+ if (mIsRecognizingAnimEnabled ) {
209+ mFODAnimation .setAnimationKeyguard (false );
210+ mHandler .post (() -> mFODAnimation .hideFODanimation ());
211+ }
197212 mScreenTurnedOn = true ;
198213 }
199214
You can’t perform that action at this time.
0 commit comments