Commit Graph

4524 Commits

Author SHA1 Message Date
TreeHugger Robot
4ee1c4c00c Merge changes I4d1d38ea,Ibd3f73bc,Ic476fbb0 into rvc-dev am: 2a952d33f6 am: 90e89109a7
Change-Id: I727612baea3b20296d7b745ce34304bdf737e299
2020-05-15 21:33:47 +00:00
TreeHugger Robot
2a952d33f6 Merge changes I4d1d38ea,Ibd3f73bc,Ic476fbb0 into rvc-dev
* changes:
  Rework Incoming section logic
  Fix TODO in #updateFirstAndLastViewsForAllSections
  Convert NotificationSectionsManager to Kotlin
2020-05-15 21:31:53 +00:00
TreeHugger Robot
b678ff9090 Merge "Remove flakey test" into rvc-dev am: 8c703e4d2f
Change-Id: I27f93b34c8b9ebf5032f7d09daac7359c185add4
2020-05-15 21:03:34 +00:00
Steve Elliott
33d3b54639 Rework Incoming section logic
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
2020-05-15 16:13:29 -04:00
Robert Snoeberger
dccbd69255 Remove flakey test
Bug: 156302951
Test: atest tests/src/com/android/systemui/media/SeekBarViewModelTest.kt
Change-Id: I3d2e24f6586c2862d5a5459943cd0a12d01578de
2020-05-15 14:08:19 -04:00
Lucas Dupin
941a9d99dd Merge changes Id6078a02,I4c6e92ed,Iee440308 into rvc-dev am: d5e4aa1ad7
Change-Id: I6b23277f9dd1de64f409a1cd11502c1978d9fe08
2020-05-15 16:29:38 +00:00
Lucas Dupin
d5e4aa1ad7 Merge changes Id6078a02,I4c6e92ed,Iee440308 into rvc-dev
* changes:
  Add illumination to output switcher
  Remove foreground color logic from media player
  Media color extraction rules
2020-05-15 16:04:14 +00:00
Neil Fuller
b0ee299809 Merge "Restore missing line" into rvc-dev am: cf842066f3
Change-Id: If63666cc9eafc6bf2d621bf199bf32781fba8dcc
2020-05-15 15:28:22 +00:00
Neil Fuller
cf842066f3 Merge "Restore missing line" into rvc-dev 2020-05-15 15:09:23 +00:00
Steve Elliott
981cca1156 Convert NotificationSectionsManager to Kotlin
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
2020-05-15 10:41:07 -04:00
Lucas Dupin
81e9beb0fa Remove foreground color logic from media player
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
2020-05-14 20:21:33 -07:00
Winson Chung
d6204bbb3e Merge "Update config ordering when entering/leaving pip" into rvc-dev am: d8fb783389
Change-Id: Iac736f444b9330784a0b84c49a40e226b8c4eec9
2020-05-14 20:26:46 +00:00
Winson Chung
d8fb783389 Merge "Update config ordering when entering/leaving pip" into rvc-dev 2020-05-14 20:20:27 +00:00
TreeHugger Robot
7555d899ec Merge "Persists bubbles to disk (part 4)" into rvc-dev am: 682217b4e5
Change-Id: Iab7bfffcca9e43bd8299080c586513dfe7dcfec2
2020-05-14 17:21:59 +00:00
TreeHugger Robot
682217b4e5 Merge "Persists bubbles to disk (part 4)" into rvc-dev 2020-05-14 17:13:13 +00:00
Fabian Kozynski
d54e6a4b27 Restore missing line
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
2020-05-14 11:54:27 -04:00
TreeHugger Robot
0c10b05aed Merge "Fix broken test NotificatonSectionsFeatureManagerTest" into rvc-dev am: 36c1dbd061
Change-Id: I484a8dc379bcd5d434d788a81f491a89d0dd7012
2020-05-14 03:03:06 +00:00
TreeHugger Robot
36c1dbd061 Merge "Fix broken test NotificatonSectionsFeatureManagerTest" into rvc-dev 2020-05-14 02:51:51 +00:00
Tracy Zhou
8629a2ca12 Merge "Revert "Fix missing animation when launch activity from notification."" into rvc-dev am: a408cd135a
Change-Id: Ie3344d90bb75dd002d27b9975bc758b45ebf82b6
2020-05-14 02:06:03 +00:00
Tracy Zhou
a408cd135a Merge "Revert "Fix missing animation when launch activity from notification."" into rvc-dev 2020-05-14 01:56:23 +00:00
Steve Elliott
29ea52d194 Fix broken test NotificatonSectionsFeatureManagerTest
Fixes: 156532263
Test: atest
Change-Id: Ic66cb0230a15263d74399e131e56431635fb789a
2020-05-13 19:33:59 -04:00
Selim Cinek
79118c458b Merge "Resetting the scroll position of the media players when allowed" into rvc-dev am: 2cdb725ba6
Change-Id: I00f19b60e9a670992eaf985b92213cf8475f0382
2020-05-13 22:41:45 +00:00
Selim Cinek
2cdb725ba6 Merge "Resetting the scroll position of the media players when allowed" into rvc-dev 2020-05-13 22:24:48 +00:00
Winson Chung
c4d4ee834b Update config ordering when entering/leaving pip
- 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
2020-05-13 13:14:12 -07:00
TreeHugger Robot
1df8f405f0 Merge "Link partial convo controls to Settings" into rvc-dev am: 629ebb174b
Change-Id: Ib7d3deb4324b867fc2732721e0802b659f72d099
2020-05-13 19:52:48 +00:00
TreeHugger Robot
629ebb174b Merge "Link partial convo controls to Settings" into rvc-dev 2020-05-13 19:49:01 +00:00
Selim Cinek
0260c7563b Resetting the scroll position of the media players when allowed
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
2020-05-13 11:55:47 -07:00
Steve Elliott
5cee69e0d8 Merge "Uprank colorized FSNs over Conversations" into rvc-dev am: 4ba34ed680
Change-Id: I75a904146c8d204d57aeb88ac99383995ad0fd7d
2020-05-13 17:41:43 +00:00
Steve Elliott
4ba34ed680 Merge "Uprank colorized FSNs over Conversations" into rvc-dev 2020-05-13 17:27:32 +00:00
TreeHugger Robot
f3d3d8c1d6 Merge "add westworld log to global actions dismiss" into rvc-dev am: 2619a020dd
Change-Id: I7e25057633fc5f86708b6212fe00ed3d568c04f0
2020-05-13 17:18:38 +00:00
TreeHugger Robot
2619a020dd Merge "add westworld log to global actions dismiss" into rvc-dev 2020-05-13 16:58:24 +00:00
Julia Reynolds
435a7a42af Link partial convo controls to Settings
Test: atest
Fixes: 156410505
Change-Id: I9e3493ab672d44b558f4aef9d1d9ef309e9fb273
2020-05-13 12:05:52 -04:00
Fabian Kozynski
4154d0d607 Merge "Move IPC calls to background thread in CarrierTextController" into rvc-dev am: 03855c1a12
Change-Id: I79034f48684a76ea1201409bb5c3fa57577095ec
2020-05-13 14:07:44 +00:00
Fabian Kozynski
03855c1a12 Merge "Move IPC calls to background thread in CarrierTextController" into rvc-dev 2020-05-13 13:51:12 +00:00
Steve Elliott
49671e0589 Uprank colorized FSNs over Conversations
Fixes: 155960711
Test: manual
Change-Id: I7cdada27dc383a5e209497609d0c17cad4fefc66
2020-05-13 09:25:30 -04:00
Pinyao Ting
293b83d81e Persists bubbles to disk (part 4)
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
2020-05-12 20:17:23 -07:00
Matt Pietal
fa0497f618 Merge "Controls UI - Do not clear callbacks on user change" into rvc-dev am: 735b2fd312
Change-Id: I638398992cabdb2406ede01c1cb2674d199b0504
2020-05-13 00:49:24 +00:00
Matt Pietal
735b2fd312 Merge "Controls UI - Do not clear callbacks on user change" into rvc-dev 2020-05-13 00:46:25 +00:00
Beverly Tai
3ad107e5e0 Merge "Inject LockPatternUtils into KeyguardUpdateMonitor" into rvc-dev am: 3fb4151b06
Change-Id: Ia9bb44b6d0b9bdc955f06648f7a2b5e6cd921a1c
2020-05-12 22:58:20 +00:00
Beverly Tai
3fb4151b06 Merge "Inject LockPatternUtils into KeyguardUpdateMonitor" into rvc-dev 2020-05-12 22:40:44 +00:00
TreeHugger Robot
9f437484e1 Merge "Fix focus flag on shade" into rvc-dev am: d5cf541487
Change-Id: I686d5640c4883f39c3b81a199205b988a3759e54
2020-05-12 22:28:56 +00:00
TreeHugger Robot
d5cf541487 Merge "Fix focus flag on shade" into rvc-dev 2020-05-12 22:08:56 +00:00
Fabian Kozynski
49325ea1c3 Move IPC calls to background thread in CarrierTextController
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
2020-05-12 20:47:58 +00:00
Chris Wren
9756a008ce add westworld log to global actions dismiss
Bug: 147508238
Test: atest GlobalActionsDialogTest
Change-Id: Ic4a1893a20c686d059d0cd93ffd98df18f5b1ab6
2020-05-12 16:46:27 -04:00
Steve Elliott
a45c7326ab Merge "Add debug logging to sections manager" into rvc-dev am: 542e66b044
Change-Id: I4e0fd8833a1488b4ed846ff097625f65fbd11f79
2020-05-12 20:32:13 +00:00
TreeHugger Robot
ff30caa0c6 Merge "GlobalActionsImeTest: make SysuiTestCase" into rvc-dev am: b5e54cabc9
Change-Id: I81ce8564aeb2b0e1637ea182b4095bae8808075b
2020-05-12 20:29:55 +00:00
Steve Elliott
3ba31ba4e5 Merge "Use PersonNotifIdentifier in NotifGroupMan" into rvc-dev am: 7a323827ac
Change-Id: I91dcacecfbd965a533279b5743b99db5767f77cb
2020-05-12 20:28:10 +00:00
Selim Cinek
066dbbf59a Merge changes from topic "media_refactor" into rvc-dev am: 4b510ab9b8
Change-Id: I5a7d1330a978a9c2ef7d383b60daa52922091cab
2020-05-12 20:14:33 +00:00
Mady Mellor
cfefeafe56 Merge "Use mock window manager for BubbleController in tests" into rvc-dev am: f7f3ba1568
Change-Id: I3f9d325bd20ddd08b30746ed4ab3b6740f1cc9fa
2020-05-12 20:09:23 +00:00
Curtis Belmonte
253483f386 Merge "Don't re-trigger face auth from notification shade" into rvc-dev am: 3940a99593
Change-Id: I1e0e9f5f2d12b0949fc5d318a257598a91465f42
2020-05-12 20:08:19 +00:00