If the dialog goes through configuration change but is already animating
away, we should send the callback immediately. Similary, there is no need
to re-create the dialog in onConfigurationChanged, since the lifecycle
is already ended and the callback is already sent to the client.
Bug: 123378871
Test: atest com.android.systemui.biometrics
Test: manual
Change-Id: I5c771982a3eef1a0583fb5171ffc7a9d91756396
am: a46ec407d2 -s ours
am skip reason: change_id I52b3eee95a3ee67c3ec215d8b582967f900da4c8 with SHA1 4b75b192a8 is in history
Change-Id: I41be606e1d64e742224ffcd769a9e0d84192dd3f
The keyguard status bar has different paddings. Showing it for 0.5
seconds feels janky.
From now on, if we're bypassing, we'll only show it after face auth fails
Test: reach, press power, look at status bar: gone
Test: reboot, reach, press power, look at status bar: visible
Test: reach, press power, wait for auth filure, look at status bar: visible
Test: reach, pull down, wait for auth filure, look at status bar: visible
Fixes: 140259100
Change-Id: I52b3eee95a3ee67c3ec215d8b582967f900da4c8
Merged-In: I52b3eee95a3ee67c3ec215d8b582967f900da4c8
am: b6fc557eab -s ours
am skip reason: change_id I2bce277ff8f2de4614e19d5385fe6712b076f9c9 with SHA1 a5e4422d14 is in history
Change-Id: Icdd0fc4a1538255a7fe7d578cdd0b7713b063d21
am: 04b156593a -s ours
am skip reason: change_id Ib1b4fba54ebd3599fe11021d21dc9b09d34e8965 with SHA1 2b415a4c44 is in history
Change-Id: I0c751790410547450583548cde902132ce65797b
am: 593b6f2478 -s ours
am skip reason: change_id I2bce277ff8f2de4614e19d5385fe6712b076f9c9 with SHA1 a5e4422d14 is in history
Change-Id: I903b2f1c74ebc6742de3bf32760187e84da46964
am: 08c1dc2d66 -s ours
am skip reason: change_id Ib1b4fba54ebd3599fe11021d21dc9b09d34e8965 with SHA1 2b415a4c44 is in history
Change-Id: I971fd790e6541f7ccc62cc1ed40b261c42a9a43b
am: 68f73efcb9 -s ours
am skip reason: change_id I2bce277ff8f2de4614e19d5385fe6712b076f9c9 with SHA1 a5e4422d14 is in history
Change-Id: Ied9dcb2ef947d5c9000f560ff099cc9d8a3ac066
am: 122636b4f5 -s ours
am skip reason: change_id Ib1b4fba54ebd3599fe11021d21dc9b09d34e8965 with SHA1 46368e4f5c is in history
Change-Id: Ib0d54c9737f9e03624436a35fd6d27bd420291b3
am: 5d46ef370e -s ours
am skip reason: change_id I94d9de50bb03c33666471e3dbd9c721e9278f7cb with SHA1 9fbc5e75b4 is in history
Change-Id: I009810173398521c1973741daa3c2f9a4538dde2
am: b5d4ff67d6 -s ours
am skip reason: change_id If3d8d7915f2d86da20c63e99bee01f30e3ea89c0 with SHA1 9f677a0790 is in history
Change-Id: I0bc3929e71dbbd1f56eb3ea6de36aac088db8f53
am: 6b83389f35 -s ours
am skip reason: change_id If3d8d7915f2d86da20c63e99bee01f30e3ea89c0 with SHA1 9f677a0790 is in history
Change-Id: I76ea1958df3bae8967e0242c2b7b9186d86abfc7
am: c12bf8a9e0 -s ours
am skip reason: change_id If3d8d7915f2d86da20c63e99bee01f30e3ea89c0 with SHA1 9f677a0790 is in history
Change-Id: Iffad6f1039daa8a6c8f53ef6b7bfd96d674819ee
am: 1e1099a123 -s ours
am skip reason: change_id If3d8d7915f2d86da20c63e99bee01f30e3ea89c0 with SHA1 9f677a0790 is in history
Change-Id: Icdd16f0ebe762d5a07f85bb62af0c7e63ac677c2
am: b79c764c82 -s ours
am skip reason: change_id Ifc6719c2f438474b5474def02422ef68eee800b2 with SHA1 960a1a4bc9 is in history
Change-Id: I130bb42989ce773cebc98f5a8c6e94132ba97886
am: 7af3d7f0c0 -s ours
am skip reason: change_id If3d8d7915f2d86da20c63e99bee01f30e3ea89c0 with SHA1 02d6ac0f20 is in history
Change-Id: Ifca1d768fd0b423dbad7193526491da6517e7767
am: 06ab601fef -s ours
am skip reason: change_id I0016290a5181b9acba73503f938772b90f583f66 with SHA1 13ae817be2 is in history
Change-Id: I6e50ee04646bb018e2a462d2c418defecccaa627