前边《BiometricPrompt之四 - BiometricDialogView无法消失》已经介绍过BiometricDialogView无法消失的一种情形。
那还有没另外的情况,有。
情况比《BiometricPrompt之四》更严重, 直接在锁屏上弹出,导致无法解锁,用户无法进入Launcher进行UI交互, 与锁屏lockout无异。
效果图见:
出现这种“意外” 的情况是,比如:UI处在进入申请BiometricPrompt生物识别弹框上下文,由于网络/apk性能等种种原因,并未立马申请弹出Dialog,突然遇到Power熄屏,或者亮屏超时,立马按下Power点亮屏幕。
此时三方应用处在onPaused状态,但是异步发起生物识别申请,导致"意外"发生。
看一段启动BMO app log。
03-31 13:08:14.866 1377 3645 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.bmo.mobile/.BMOMobileBanking bnds=[228,694][436,984] (has extras)} from uid 10077
03-31 13:08:14.868 1377 3645 D AppLock : shouldLaunchAppsLock NAME = com.bmo.mobile
03-31 13:08:14.933 1377 3645 I am_create_activity: [0,81582656,2359,com.bmo.mobile/.BMOMobileBanking,android.intent.action.MAIN,NULL,NULL,270532608]
03-31 13:08:14.979 1377 1478 I am_proc_start: [0,15195,10199,com.bmo.mobile,activity,{com.bmo.mobile/com.bmo.mobile.BMOMobileBanking}]
03-31 13:08:14.979 1377 1478 I ActivityManager: Start proc 15195:com.bmo.mobile/u0a199 for activity {com.bmo.mobile/com.bmo.mobile.BMOMobileBanking}
03-31 13:08:14.991 15195 15195 E com.bmo.mobile: Not starting debugger since process cannot load the jdwp agent.
03-31 13:08:15.003 1377 6979 I am_proc_bound: [0,15195,com.bmo.mobile]
03-31 13:08:15.006 1377 6979 I am_restart_activity: [0,81582656,2359,com.bmo.mobile/.BMOMobileBanking]
03-31 13:08:15.007 1377 6979 I am_set_resumed_activity: [0,com.bmo.mobile/.BMOMobileBanking,minimalResumeActivityLocked]
03-31 13:08:15.007 1377 6979 D AppLockUtil: reportAllResumedActivitiesComplete packageName-com.bmo.mobile; activityName-com.bmo.mobile.BMOMobileBanking
03-31 13:08:15.007 4874 16940 E iris@DispatchSence: hal iris callback errorcom.bmo.mobile
03-31 13:08:15.014 15195 15195 I com.bmo.mobile: The ClassLoaderContext is a special shared library.
03-31 13:08:15.260 15195 15234 E Perf : Fail to get file list com.bmo.mobile
03-31 13:08:15.319 15195 15195 I am_on_create_called: [0,com.bmo.mobile.BMOMobileBanking,performCreate]
03-31 13:08:15.321 15195 15195 I am_on_start_called: [0,com.bmo.mobile.BMOMobileBanking,handleStartActivity]
03-31 13:08:15.325 1377 3757 D AppLock : shouldLaunchAppsLock NAME = com.bmo.mobile
03-31 13:08:15.326 15195 15195 I am_on_resume_called: [0,com.bmo.mobile.BMOMobileBanking,RESUME_ACTIVITY]
03-31 13:08:15.355 15195 15195 I am_on_top_resumed_gained_called: [0,com.bmo.mobile.BMOMobileBanking,topStateChangedWhenResumed]
03-31 13:08:15.412 888 888 E Layer : [Surface(name=AppWindowToken{a3c1abe token=Token{a089d79 ActivityRecord{4dcda40 u0 com.bmo.mobile/.BMOMobileBanking t2359}}})/@0x9f498ed - animation-leash#0] No local sync point found
03-31 13:08:15.412 888 888 E Layer : [Surface(name=AppWindowToken{a3c1abe token=Token{a089d79 ActivityRecord{4dcda40 u0 com.bmo.mobile/.BMOMobileBanking t2359}}})/@0x9f498ed - animation-leash#0] No local sync point found
03-31 13:08:15.464 1377 1478 I am_proc_start: [0,15292,99310,com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0,,{com.bmo.mobile/org.chromium.content.app.SandboxedProcessService0:0}]
03-31 13:08:15.464 1377 1478 I ActivityManager: Start proc 15292:com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0/u0i310 for {com.bmo.mobile/org.chromium.content.app.SandboxedProcessService0:0}
03-31 13:08:15.593 1377 1475 I sysui_multi_action: [319,149,321,118,322,725,325,186752,757,761,758,8,759,1,806,com.bmo.mobile,871,com.bmo.mobile.BMOMobileBanking,904,com.android.launcher3,905,0,1320,8,1321,5]
03-31 13:08:15.596 1377 1475 I am_activity_launch_time: [0,81582656,com.bmo.mobile/.BMOMobileBanking,725]
03-31 13:08:15.596 1377 1475 I ActivityTaskManager: Displayed com.bmo.mobile/.BMOMobileBanking: +725ms
03-31 13:08:24.524 15195 15425 W AdvertisingIdClient: at com.bmo.mobile.plugins.GetAdvertisingID$1.run(SourceFile:48)
03-31 13:08:25.706 1377 1475 I am_pss : [15195,10199,com.bmo.mobile,192769024,172269568,54272,322924544,0,2,20]
03-31 13:08:26.447 15195 15207 I com.bmo.mobile: Background concurrent copying GC freed 36607(2862KB) AllocSpace objects, 31(2348KB) LOS objects, 49% free, 5616KB/10MB, paused 1.371ms total 107.729ms
03-31 13:08:29.723 3685 4107 W TelephonyPermissions: reportAccessDeniedToReadIdentifiers:com.bmo.mobile:getSubscriberId:isPreinstalled=false:isPrivApp=false
03-31 13:08:29.864 3224 3790 D KeyguardViewMediator: onStartedGoingToSleep(3)
03-31 13:08:29.869 3224 3790 D KeyguardViewMediator: setting alarm to turn off keyguard, seq = 3144
03-31 13:08:29.870 3224 3790 D KeyguardViewMediator: notifyStartedGoingToSleep
03-31 13:08:29.879 1377 1377 V FingerprintService: startAuthentication(com.android.systemui)
03-31 13:08:29.879 1377 1377 V FingerprintService: starting client AuthenticationClientImpl(com.android.systemui) cookie: 0/0
03-31 13:08:29.884 1296 1612 D android.hardware.biometrics.fingerprint@2.1-service: onAcquired(6)
03-31 13:08:29.885 1377 1377 W FingerprintService: client com.android.systemui is authenticating...
03-31 13:08:29.886 3224 3224 D KeyguardViewMediator: handleNotifyStartedGoingToSleep
03-31 13:08:29.887 1377 1377 V FingerprintService: Acquired: 6 1
03-31 13:08:30.177 1377 1495 I am_pause_activity: [0,81582656,com.bmo.mobile/.BMOMobileBanking,userLeaving=false]
03-31 13:08:30.177 15195 15195 I am_on_top_resumed_lost_called: [0,com.bmo.mobile.BMOMobileBanking,topStateChangedWhenResumed]
03-31 13:08:30.185 15195 15195 I am_on_paused_called: [0,com.bmo.mobile.BMOMobileBanking,performPause]
03-31 13:08:30.182 3224 3667 D KeyguardViewMediator: notifyScreenTurnedOff
03-31 13:08:30.186 3224 3224 D KeyguardViewMediator: handleNotifyScreenTurnedOff
03-31 13:08:30.189 1377 3645 I ActivityTaskManager: START u0 {cmp=com.bmo.mobile/.biometric.BiometricActivity (has extras)} from uid 10199
03-31 13:08:30.189 1377 3645 D AppLock : shouldLaunchAppsLock NAME = com.bmo.mobile
03-31 13:08:30.194 1377 3645 I am_create_activity: [0,111910182,2359,com.bmo.mobile/.biometric.BiometricActivity,NULL,NULL,NULL,0]
03-31 13:08:30.206 1377 3602 I am_add_to_stopping: [0,81582656,com.bmo.mobile/.BMOMobileBanking,completePauseLocked]
03-31 13:08:30.207 1377 3602 I ActivityTaskManager: The Process com.bmo.mobile Already Exists in BG. So sending its PID: 15195
03-31 13:08:30.211 1377 3602 I am_restart_activity: [0,111910182,2359,com.bmo.mobile/.biometric.BiometricActivity]
03-31 13:08:30.212 4874 16940 E iris@DispatchSence: hal iris callback errorcom.bmo.mobile
03-31 13:08:30.213 1377 3602 I am_set_resumed_activity: [0,com.bmo.mobile/.biometric.BiometricActivity,minimalResumeActivityLocked]
03-31 13:08:30.215 1377 3602 I am_pause_activity: [0,111910182,com.bmo.mobile/.biometric.BiometricActivity,userLeaving=false]
03-31 13:08:30.458 1377 1461 I am_stop_activity: [0,81582656,com.bmo.mobile/.BMOMobileBanking]
03-31 13:08:30.523 1377 3548 I am_add_to_stopping: [0,111910182,com.bmo.mobile/.biometric.BiometricActivity,makeInvisible]
03-31 13:08:30.529 1377 1461 I sysui_multi_action: [757,1144,758,8,806,com.bmo.mobile,871,com.bmo.mobile.biometric.BiometricActivity]
03-31 13:08:30.550 15195 15195 I am_on_create_called: [0,com.bmo.mobile.biometric.BiometricActivity,performCreate]
03-31 13:08:30.553 1377 1377 I screen_toggled: 0
03-31 13:08:30.553 3224 3667 D KeyguardViewMediator: onFinishedGoingToSleep(3)
03-31 13:08:30.553 3224 3667 D KeyguardViewMediator: notifyFinishedGoingToSleep
03-31 13:08:30.553 3224 3667 D KeyguardUpdateMonitor: getBiometricBlockDoLock: false
03-31 13:08:30.553 3224 3667 D KeyguardViewMediator: onFinishedGoingToSleep: blockDoLockByBiometricFp:false, cameraGestureTriggered:false
03-31 13:08:30.566 15195 15195 I am_on_start_called: [0,com.bmo.mobile.biometric.BiometricActivity,handleStartActivity]
03-31 13:08:30.575 1377 1377 D BiometricService: Creating auth session. Modality: 1, cookie: 1854806834
03-31 13:08:30.578 1377 3612 D AppLock : shouldLaunchAppsLock NAME = com.bmo.mobile
03-31 13:08:30.579 15195 15195 I am_on_resume_called: [0,com.bmo.mobile.biometric.BiometricActivity,RESUME_ACTIVITY]
03-31 13:08:30.589 1377 1377 V FingerprintService: startAuthentication(com.bmo.mobile)
03-31 13:08:30.589 1377 1377 V FingerprintService: request stop current client com.android.systemui
03-31 13:08:30.589 1296 1612 D android.hardware.biometrics.fingerprint@2.1-service: onError(5)
03-31 13:08:30.590 15195 15195 I am_on_top_resumed_gained_called: [0,com.bmo.mobile.biometric.BiometricActivity,topStateChangedWhenResumed]
03-31 13:08:30.590 15195 15195 I am_on_top_resumed_lost_called: [0,com.bmo.mobile.biometric.BiometricActivity,topStateChangedWhenResumed]
03-31 13:08:30.593 1377 1377 W FingerprintService: client com.android.systemui is no longer authenticating
03-31 13:08:30.595 1377 1377 V FingerprintService: handleError(client=com.android.systemui, error = 5)
03-31 13:08:30.595 1377 1377 V FingerprintService: Done with client: com.android.systemui
03-31 13:08:30.595 1377 1377 V FingerprintService: start pending client com.bmo.mobile
03-31 13:08:30.595 1377 1377 V FingerprintService: Returning cookie: 1854806834
03-31 13:08:30.596 15195 15195 I am_on_paused_called: [0,com.bmo.mobile.biometric.BiometricActivity,performPause]
03-31 13:08:30.596 1377 1377 D BiometricService: Matched cookie: 1854806834, 0 remaining
03-31 13:08:30.596 1377 1377 V FingerprintService: starting client AuthenticationClientImpl(com.bmo.mobile) cookie: 1854806834/1854806834
03-31 13:08:30.600 1296 1612 D android.hardware.biometrics.fingerprint@2.1-service: onAcquired(6)
03-31 13:08:30.601 1377 1377 W FingerprintService: client com.bmo.mobile is authenticating...
03-31 13:08:30.606 1377 1461 I am_stop_activity: [0,111910182,com.bmo.mobile/.biometric.BiometricActivity]
03-31 13:08:30.610 15195 15195 I am_on_stop_called: [0,com.bmo.mobile.BMOMobileBanking,sleeping]
03-31 13:08:30.611 3224 3224 D KeyguardViewMediator: handleNotifyFinishedGoingToSleep
03-31 13:08:30.611 1377 1377 V FingerprintService: Acquired: 6 1
03-31 13:08:30.611 1377 1377 V FingerprintService: Stopping client com.bmo.mobile, fromClient: true
03-31 13:08:30.611 1296 1612 D android.hardware.biometrics.fingerprint@2.1-service: onError(5)
03-31 13:08:30.615 1377 1377 W FingerprintService: client com.bmo.mobile is no longer authenticating
03-31 13:08:30.622 1377 1377 W BiometricService: Ignoring null message: 6
03-31 13:08:30.622 1377 1377 V FingerprintService: handleError(client=com.bmo.mobile, error = 5)
03-31 13:08:30.622 1377 1377 V FingerprintService: Done with client: com.bmo.mobile
03-31 13:08:30.632 1377 1377 D BiometricService: Error: 5 cookie: 1854806834
03-31 13:08:30.640 15195 15195 I am_on_stop_called: [0,com.bmo.mobile.biometric.BiometricActivity,STOP_ACTIVITY_ITEM]
03-31 13:08:30.642 3224 3224 D BiometricDialogImpl: showBiometricDialog, type: 1, requireConfirmation: false
03-31 13:08:30.658 3224 3224 D BiometricDialogImpl: hideBiometricDialog
03-31 13:08:30.665 1377 3612 I am_finish_activity: [0,111910182,2359,com.bmo.mobile/.biometric.BiometricActivity,app-request]
03-31 13:08:30.665 1377 3612 I am_destroy_activity: [0,111910182,2359,com.bmo.mobile/.biometric.BiometricActivity,finish-imm:finishActivityLocked]
03-31 13:08:30.669 1377 3548 I ActivityTaskManager: Activity reported stop, but no longer stopping: ActivityRecord{6ab9d26 u0 com.bmo.mobile/.biometric.BiometricActivity t2359 f}
03-31 13:08:30.671 3224 3224 D BiometricDialogImpl: handleShowDialog, savedState: null mCurrentDialog: com.android.systemui.biometrics.FingerprintDialogView{3248239 V.E...... ......ID 0,0-1080,2122} newDialog: com.android.systemui.biometrics.FingerprintDialogView{f69187e V.E...... ......I. 0,0-0,0} type: 1
03-31 13:08:30.686 3224 3224 D BiometricDialogImpl: handleHideDialog, userCanceled: false
03-31 13:08:30.689 15195 15195 I am_on_destroy_called: [0,com.bmo.mobile.biometric.BiometricActivity,performDestroy]
03-31 13:08:30.706 1377 3612 I am_set_resumed_activity: [0,com.bmo.mobile/.BMOMobileBanking,resumeTopActivityInnerLocked]
03-31 13:08:30.706 4874 16940 E iris@DispatchSence: hal iris callback errorcom.bmo.mobile
03-31 13:08:30.710 1377 3612 I am_resume_activity: [0,81582656,2359,com.bmo.mobile/.BMOMobileBanking]
03-31 13:08:30.723 1377 3612 I am_add_to_stopping: [0,81582656,com.bmo.mobile/.BMOMobileBanking,makeInvisible]
03-31 13:08:30.725 1377 3612 I am_pause_activity: [0,81582656,com.bmo.mobile/.BMOMobileBanking,userLeaving=false]
03-31 13:08:30.755 15195 15195 I am_on_activity_result_called: [0,com.bmo.mobile.BMOMobileBanking,ACTIVITY_RESULT]
03-31 13:08:30.757 15195 15195 I am_on_restart_called: [0,com.bmo.mobile.BMOMobileBanking,performRestartActivity]
03-31 13:08:30.780 15195 15195 I am_on_start_called: [0,com.bmo.mobile.BMOMobileBanking,handleStartActivity]
03-31 13:08:30.793 1377 4892 D AppLock : shouldLaunchAppsLock NAME = com.bmo.mobile
03-31 13:08:30.794 15195 15195 I am_on_resume_called: [0,com.bmo.mobile.BMOMobileBanking,RESUME_ACTIVITY]
03-31 13:08:30.794 15195 15195 I am_on_top_resumed_gained_called: [0,com.bmo.mobile.BMOMobileBanking,topWhenResuming]
03-31 13:08:30.796 15195 15195 I am_on_top_resumed_lost_called: [0,com.bmo.mobile.BMOMobileBanking,topStateChangedWhenResumed]
03-31 13:08:30.802 15195 15195 I am_on_paused_called: [0,com.bmo.mobile.BMOMobileBanking,performPause]
03-31 13:08:30.807 1377 1461 I am_stop_activity: [0,81582656,com.bmo.mobile/.BMOMobileBanking]
03-31 13:08:30.822 15195 15195 I am_on_stop_called: [0,com.bmo.mobile.BMOMobileBanking,STOP_ACTIVITY_ITEM]
03-31 13:08:30.862 1377 1377 V FingerprintService: startAuthentication(com.android.systemui)
03-31 13:08:30.862 1377 1377 V FingerprintService: starting client AuthenticationClientImpl(com.android.systemui) cookie: 0/0
03-31 13:08:30.871 1296 1612 D android.hardware.biometrics.fingerprint@2.1-service: onAcquired(6)
03-31 13:08:30.872 1377 1377 W FingerprintService: client com.android.systemui is authenticating...
03-31 13:08:30.872 1377 1377 V FingerprintService: Acquired: 6 1
03-31 13:08:31.143 3224 3251 D KeyguardViewMediator: notifyScreenOn
03-31 13:08:31.163 3224 3224 D KeyguardViewMediator: handleNotifyScreenTurningOn
03-31 13:08:31.389 1377 1377 I screen_toggled: 1
03-31 13:08:31.389 3224 3251 D KeyguardViewMediator: onStartedWakingUp, seq = 3145
03-31 13:08:31.389 3224 3251 D KeyguardViewMediator: notifyStartedWakingUp
03-31 13:08:31.395 3224 3224 D KeyguardViewMediator: handleNotifyWakingUp
03-31 13:08:31.408 1377 1377 V FingerprintService: Stopping client com.android.systemui, fromClient: true
03-31 13:08:31.409 1296 1612 D android.hardware.biometrics.fingerprint@2.1-service: onError(5)
03-31 13:08:31.412 1377 1377 W FingerprintService: client com.android.systemui is no longer authenticating
03-31 13:08:31.417 1377 1377 V FingerprintService: handleError(client=com.android.systemui, error = 5)
03-31 13:08:31.417 1377 1377 V FingerprintService: Done with client: com.android.systemui
03-31 13:08:31.419 1377 3612 I am_set_resumed_activity: [0,com.bmo.mobile/.BMOMobileBanking,resumeTopActivityInnerLocked]
03-31 13:08:31.419 4874 16940 E iris@DispatchSence: hal iris callback errorcom.bmo.mobile
03-31 13:08:31.421 1377 3612 I am_resume_activity: [0,81582656,2359,com.bmo.mobile/.BMOMobileBanking]
03-31 13:08:31.431 15195 15195 I am_on_restart_called: [0,com.bmo.mobile.BMOMobileBanking,performRestartActivity]
03-31 13:08:31.433 15195 15195 I am_on_start_called: [0,com.bmo.mobile.BMOMobileBanking,handleStartActivity]
03-31 13:08:31.435 1377 3548 D AppLock : shouldLaunchAppsLock NAME = com.bmo.mobile
03-31 13:08:31.435 15195 15195 I am_on_resume_called: [0,com.bmo.mobile.BMOMobileBanking,RESUME_ACTIVITY]
03-31 13:08:31.435 15195 15195 I am_on_top_resumed_gained_called: [0,com.bmo.mobile.BMOMobileBanking,topWhenResuming]
03-31 13:08:31.511 3224 31368 D KeyguardViewMediator: notifyScreenTurnedOn
03-31 13:08:31.627 3224 3224 D KeyguardViewMediator: handleNotifyScreenTurnedOn
03-31 13:08:32.949 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:34.406 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:34.868 3224 3224 D KeyguardViewMediator: received DELAYED_KEYGUARD_ACTION with seq = 3144, mDelayedShowingSequence = 3146
03-31 13:08:36.767 1377 1475 I am_pss : [15195,10199,com.bmo.mobile,163640320,148414464,55296,289316864,0,2,21]
03-31 13:08:36.926 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:38.438 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:39.271 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:40.330 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:41.192 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:42.298 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{e2f62d1 u0 NavigationBar0}
03-31 13:08:42.310 3224 3224 D NavigationBar: getPackageName = com.bmo.mobile,isMMiTest=false
03-31 13:08:42.328 15195 15195 I am_on_top_resumed_lost_called: [0,com.bmo.mobile.BMOMobileBanking,topStateChangedWhenResumed]
03-31 13:08:42.330 1377 6488 I am_pause_activity: [0,81582656,com.bmo.mobile/.BMOMobileBanking,userLeaving=true]
03-31 13:08:42.333 1377 6488 I am_add_to_stopping: [0,81582656,com.bmo.mobile/.BMOMobileBanking,makeInvisible]
03-31 13:08:42.345 15195 15195 I am_on_paused_called: [0,com.bmo.mobile.BMOMobileBanking,performPause]
03-31 13:08:42.939 1377 1461 I am_stop_activity: [0,81582656,com.bmo.mobile/.BMOMobileBanking]
03-31 13:08:42.941 888 888 E Layer : [Surface(name=AppWindowToken{a3c1abe token=Token{a089d79 ActivityRecord{4dcda40 u0 com.bmo.mobile/.BMOMobileBanking t2359}}})/@0x9f498ed - animation-leash#0] No local sync point found
03-31 13:08:42.966 15195 15195 I am_on_stop_called: [0,com.bmo.mobile.BMOMobileBanking,STOP_ACTIVITY_ITEM]
03-31 13:08:44.296 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:45.100 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:45.218 3224 3224 D BiometricDialogImpl: handleHideDialog, userCanceled: true
03-31 13:08:45.218 3224 3224 W BiometricDialogImpl: Dialog already dismissed, userCanceled: true
03-31 13:08:45.826 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:45.836 3224 3224 D BiometricDialogImpl: handleHideDialog, userCanceled: true
03-31 13:08:45.836 3224 3224 W BiometricDialogImpl: Dialog already dismissed, userCanceled: true
03-31 13:08:46.108 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:46.236 3224 3224 D BiometricDialogImpl: handleHideDialog, userCanceled: true
03-31 13:08:46.236 3224 3224 W BiometricDialogImpl: Dialog already dismissed, userCanceled: true
03-31 13:08:46.340 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:46.458 3224 3224 D BiometricDialogImpl: handleHideDialog, userCanceled: true
03-31 13:08:46.458 3224 3224 W BiometricDialogImpl: Dialog already dismissed, userCanceled: true
03-31 13:08:47.185 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{e2f62d1 u0 NavigationBar0}
03-31 13:08:47.198 1377 2383 V InputDispatcher: Asynchronous input event injection succeeded.
03-31 13:08:47.347 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{e2f62d1 u0 NavigationBar0}
03-31 13:08:47.366 1377 2383 I chatty : uid=1000(system) InputDispatcher identical 2 lines
03-31 13:08:47.376 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{e2f62d1 u0 NavigationBar0}
03-31 13:08:47.400 1377 2383 V InputDispatcher: Asynchronous input event injection succeeded.
03-31 13:08:48.852 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:49.373 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:49.616 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:50.780 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:08:50.878 3224 3224 D BiometricDialogImpl: handleHideDialog, userCanceled: true
03-31 13:08:50.878 3224 3224 W BiometricDialogImpl: Dialog already dismissed, userCanceled: true
03-31 13:08:51.797 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:09:00.565 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:09:01.202 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
03-31 13:09:02.508 1377 2383 D InputDispatcher: findTouchedWindowAtLocked : Window{bac9927 u0 BiometricDialogView}
解决方案,拦截锁屏指纹申请,拦截BiometricDialogView handleShow。