Fix 3rd-party app Biometric Prompt has no response after rotation
There were two AuthContainerView instances during rotating. The old one should be removed via WindowManger.removeView(). However it may be not removed so quickly, so the old one has the chance to receive onWindowFocusChanged(false) and notify BiometricService to cancel. So replace removeView() with removeViewInmediate(). Bug: b/250830611 Test: 1. Enroll at least 1 finger 2. Download WeBull from PlayStore 3. Register an account for WeBull 4. Enable biometric authentication in WeBull 5. Lauch WeBull & wait for BP showing 6. Rotate device & check the result Change-Id: I03548f0051254cd9df8d4733dfe24d4650b7ab39
Loading
Please register or sign in to comment