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

Commit b1832bd2 authored by Beverly Tai's avatar Beverly Tai Committed by Automerger Merge Worker
Browse files

Merge "Add log when upfps overlay isn't in sync with KeyguardUpdateMonitor"...

Merge "Add log when upfps overlay isn't in sync with KeyguardUpdateMonitor" into sc-v2-dev am: 5537022d am: 89360346

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16031559

Change-Id: I841ccc92851782668712b06a482e71dd680b7aa4
parents 626dff32 89360346
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();
            });