We cannot assign notifications to the HUNing section during sort and
filter in NotifRankMan, because we don't know if those Notifications
can be placed there at that time. The VisStabMan can decide that they
cannot be moved, and so NotifSecMan can get confused when it sees
BUCKET_HEADS_UP in the middle of the shade.
In an ideal world, VisStabMan would inform the sort performed by
NotifRankMan, as opposed to "shooting it down" after the fact. The
main issue here is that NotifRankMan and NotifSecMan are logically
related (Notification ordering) but VisStabMan can throw a wrench in
that relationship.
Also I took the liberty of converting NotifSecMan to Kotlin. :-)
Fixes: 153554168
Test: atest, manual
Change-Id: I4d1d38eaf4eaac69542c7c115040e76ff95cc1c9
This is a direct conversion, split into a separate CL in order to
improve readability of the later CL(s) in this relation chain. There
are no functional changes to the code.
Bug: 153554168
Test: builds, atest
Change-Id: Ic476fbb09d159a17cb811a49002b28b4fa823a57
It will always be white from now on. Text colors were moved to the xmls
that define the views.
Test: atest SeekBarObserverTest
Test: atest SeekBarViewModelTest
Bug: 156387556
Change-Id: I4c6e92ed86ef44f80e856d40fccf21203839fcbb
mListening = listening; had been accidentally removed. Restore it for
proper behavior.
Expanded test to prevent future regression.
Test: atest BooleanTileServiceTest TileServiceTest
Test: atest QSPanelTest
Fixes: 156503401
Change-Id: I0f182777ef485fb7d077ada53189065adaf44f1c
- Always set the activity windowing mode to the previous windowing mode
prior to pip until SysUI has a chance to update
- When entering with bounds animation, do the bounds animation before
resetting the activity windowing mode and setting final bounds
- When entering with alpha animation, immediately reset the activity
windowing mode and final bounds
- When exiting, set the activity windowing mode to fullscreen along with
the task bounds and do an inverse scale animation from the previous
size up to fullscreen
- Skip the animation when exiting to fullscreen in another orientation
- Dumping pip task org state
Bug: 149946388
Test: Enter/exit pip
Test: atest PinnedStackTests
Change-Id: Ia5a50a5e2ce7621c2c678d0ded3d8c02b1932302
Previously the scroll position would never be reset anymore
unless the user actively did so. We're now resetting the position
whenever the visual stability manager tells us we're allowed to
do so.
Bug: 154137987
Test: atest SystemUITests
Change-Id: Ifd5858f47827610a64a9a12cff777bd2440334a9
1. Decouple Bubble from NotificationEntry
2. Convert ShortcutInfo into Bubbles
3. Load overflow bubbles into memory
Test: follow the following steps
1. add a few bubbles from test app
2. restart the device
3. add a bubble from test app
4. click the plus sign to expand overview bubbles
5. verify overflow bubbles is displayed properly
Bug: 149713060
Change-Id: I6905d93fe409f4401f7d5d2d08597c36c028b5de
In CarrierTextController, move call to ConnectivityManager to the
background thread and cache its value. Move handleSetListening
completely to background thread (make sure that callback call is posted
in main thread).
Also, get KeyguardUpdateMonitor only once, not necessary to keep track
of whether we can listen to calls (as we have a cached value now).
Test: atest CarrierTextControllerTest
Test: manual (start listening), does not trigger StrictMode
Fixes: 140034799
Change-Id: Iaf0771e8d71e07212998f44d73465b1a81b2e268