Update face scanning anim, fix visibility bugs
- The face scanning view visibility should always be INVISIBLE if the face scanning anim isn't running - The face scanning view height should never take up the entire screen (there was an issue where the face sensor location was being requested before the display resolutiong/scale size was correct, so the face height location was reporting INFINITY instead of the actual location of the face camera sensor) - Face scanning anim needs to handle resolution changes Test: Settings > Display > Screen resolution Test: Check hierarchy viewer for size of the view when the face scanning animation is running, check different orientations Test: Check sysui dumpsys when face scanning animation is NOT showing (view should be visible on reboot) Test: atest ScreenDecorationsTest Bug: 185128224 Fixes: 236193243 Change-Id: I35cd1c607f590fd332bfeac37f220eb11aea320e
Loading
Please register or sign in to comment