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

Skip to content
Commit 7598b913 authored by lbill's avatar lbill Committed by Bill Lin
Browse files

Set FLAG_DIM_BEHIND for Bidics Prompt window

Biometric prompt used to set a background color
biometric_dialog_dim_color for dim effect, however
the dim background did not cover the statusbar and
navigationbar regions.

Use window manager approach for dim effect:
- Set FLAG_DIM_BEHIND for window layout params
- Set 0.5f dimAmount
- Transit dimAmount when animate away

Test: atest SystemUITests
Test: atest com.android.systemui.biometrics.AuthContainerViewTest
Test: enroll FPS, long press wifi hotsopt QS tile, then
      tap "Share" affordance with the QR code icon to
      bring up the biometric prompt
Bug: 237047065

Change-Id: Icbb68406357a000a61752bd03d9337acf0eb6276
parent 0bdd1683
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment