Merge "Add log when upfps overlay isn't in sync with KeyguardUpdateMonitor" into sc-v2-dev
This commit is contained in:
@@ -256,6 +256,13 @@ public class UdfpsController implements DozeReceiver {
|
|||||||
@Override
|
@Override
|
||||||
public void hideUdfpsOverlay(int sensorId) {
|
public void hideUdfpsOverlay(int sensorId) {
|
||||||
mFgExecutor.execute(() -> {
|
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;
|
mServerRequest = null;
|
||||||
updateOverlay();
|
updateOverlay();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user