In this CL, we add parameter displayId in some IStatusBar APIs and also
group flags into an inner class and make it exist per display.
TODO: 1. We left SystemUi implementation in later CL.
2. Investigate which part of disable should support multi-display
after main function completes.
3. Refactor registerStatusBar as an IStatusBar API.
Note: remove mLightsOutListener in NavigationBarTransitions since no one uses it.
Test: atest SystemUITests
Bug: 117478341
Change-Id: Ie50a72f5d18e1f055ff2be4f1d7ac06da0117051
Also match contents of external branch and alphabetize.
Bug: 113356944
Test: manual
Change-Id: I136b6e87d19fdcbb7cf8fa21de780e619e7c93b7
Exempt-From-Owner-Approval: updating to match AOSP
In terms of the feature of USB overheat warning, SettingsProvider needs the implementation for the integration.
Bug: 118794842
Test: Build, flash and boot, verify
Change-Id: I41aacd5a7ed7ab1ce0212e7d2520e3c51d7d3bc1
In previous version we have ensured the DisplaySize won’t be invalided
when getting it from getDisplayDataOrCreate, The problem occurs when
there is no wallpaper (such as first boot or xml error), it will reset
the size to -1 then tries to restore an image wallpaper. Then it will
go wrong because the bitmap size is set to -1.
Change-Id: I71faa85cbbb5dcbb13414a15b1c9e3ad2a37887b
Fix: 120114212
Test: Manually test back/restore wallpaper.
Test: atest WallpaperManagerTest
Test: atest WmTests
This change defines two new chunks for encoding overlayable information.
RES_TABLE_OVERLAYABLE_POLICY_TYPE contains flags that represent
restrictions enforced on overlays that try to overlay a specific set of
resource ids. The chunk header is followed by ResTable_ref for each id
that belongs to the policy type. A policy chunk will be created for
every unique combination of policies that are defined in overlayable
declarations.
RES_TABLE_OVERLAYABLE_TYPE holds policy blocks. Since <overlayable>
does not currently have any attributes, only one overlayable block is
encoded in an APK.
This change also removes the SPEC_OVERLAYABLE flag because the runtime
does not use the flag, and the overlayable chunk encoding renders it
obsolete.
Bug: 110869880
Bug: 117545186
Test: libandroidfw_tests and aapt2_tests
Change-Id: I45ae9bf4176699f14c85e2b7a2e8560185d8a0b8
The clipping on the bottom wasn't calculated accurately
Change-Id: Iaf4aab575418ce8477503ae3079f9913f8b669f6
Fixes: 110093221
Test: launch group, observe normal animation