commit | 9cd0bf545d95c7014440125adb4f702d2f1a2737 | [log] [tgz] |
---|---|---|
author | Nicolo' Mazzucato <nicomazz@google.com> | Fri Sep 29 15:31:24 2023 +0000 |
committer | Nicolò Mazzucato <nicomazz@google.com> | Thu Oct 05 08:17:02 2023 +0000 |
tree | 27cb5f74174ea4a0e7c9ce8814ae6e1688b50269 | |
parent | e6207182b555ce8e6b5bb42d366cda5a39f590f4 [diff] |
Fix resources used for secondary display presentation The secondary display keyguard presentation was using the context from main display. This ended up causing clocks being shown with wrong sizes. Now the display is expliticly passed into the KeyguardStatusViewComponent factory, and used when appropriate. More tests for multiple resolutions coming soon. Test: KeyguardClockSwitchScreenshotTest Bug: 299256162 Change-Id: I113cf97bb63121b89857a2204625d15b254e5876