commit | cc69c584ec2b7ab07501002e1b12c190acea6356 | [log] [tgz] |
---|---|---|
author | lbill <lbill@google.com> | Wed May 31 17:24:59 2023 +0000 |
committer | lbill <lbill@google.com> | Fri Jun 02 17:30:54 2023 +0000 |
tree | 7aa5d5ebab9e29e9fa1c772a495f28f62790b7bb | |
parent | ea77c0ef4cc61d7322015c675f63bb6231b24d3a [diff] |
Get `displayInfo.rotation` instead of `context.display.rotation` `context.display.rotation` may not update immediately when display rotation onChanged() callback, we should rely on displayInfo.rotation instead. Reference : BiometricDisplayListener#didRotationChange() bug: 284098873 Test: manual go to SFPS enroll page, rotate device and check indicator Change-Id: Ifc636e41305db04b29aa89810e7075bb7edce704