diff options
| author | 2023-06-22 17:19:49 +0000 | |
|---|---|---|
| committer | 2023-06-26 15:11:33 +0000 | |
| commit | d7abdd7204eec8ade7a82536c75ca3c0e282355a (patch) | |
| tree | 3017d5c30752d4f033909d79a831f1063c795141 /libs/androidfw/FileStream.cpp | |
| parent | 59d74fa26c857196f24d0cfb1426d68c5cd035d1 (diff) | |
[CS] Define DisplayMetricsRepo and use it for QsFrameTranslateImpl.
CentralSurfacesImpl updated the display metrics on configuration change
(see #updateDisplaySize), so the new repo does the same.
Removing QsFrameTranslateImpl's usage of CentralSurfaces is necessary to
make NotificationPanelViewController a singleton.
Bug: 277762009
Bug: 277764509
Test: atest DisplayMetricsRepositoryTest
Test: `adb shell dumpsys activity service
com.android.systemui/.SystemUIService DisplayMetricsRepo` -> dumps the
display metric changes. Notably, the widthPixels and heightPixels change
when the device is rotated.
Change-Id: Ibef256bab38db5a7226d29a8b68546f093b78dd8
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions