Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5537022d authored by Beverly Tai's avatar Beverly Tai Committed by Android (Google) Code Review
Browse files

Merge "Add log when upfps overlay isn't in sync with KeyguardUpdateMonitor" into sc-v2-dev

parents f3ca8480 0142b734
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -256,6 +256,13 @@ public class UdfpsController implements DozeReceiver {
        @Override
        public void hideUdfpsOverlay(int sensorId) {
            mFgExecutor.execute(() -> {
                if (mKeyguardUpdateMonitor.isFingerprintDetectionRunning()) {
                    // if we get here, we expect keyguardUpdateMonitor's fingerprintRunningState
                    // to be updated shortly afterwards
                    Log.d(TAG, "hiding udfps overlay when "
                            + "mKeyguardUpdateMonitor.isFingerprintDetectionRunning()=true");
                }

                mServerRequest = null;
                updateOverlay();
            });