This prevents us from polluting the log buffers with logs generated by
the bug report-taking process itself (notable, bug reports post a lot of
notifications, which overwhelm the NotifLog).
Bug: 112656837
Test: atest
Test: manual
Change-Id: I070ebc99a04d854b6aacb39da1cc311307ed0653
Group names can be long (account names, like email addresses)
so let them have their own line in notification info
Test: atest, manual
Fixes: 157766238
Change-Id: I5bb33edac18eeefb5d99d7573925e54e91ac0c54
This way it will be easier to migrate to the new resumption model
when it lands.
Test: manual
Fixes: 157587326
Change-Id: I69ee71d21c96a4c6023156f605387cbe8980e706
If a secondary user installed an app that provided and ACTIVE_TILE
TileService, that tile's requests for listening would go unnoticed
before this CL.
Test: manual with ACTIVE TILE apk
Test: atest TileServices
Fixes: 157539282
Change-Id: Ibbf018dc0fcbcef95a3e49ddbc7d6c5a9396848c
Allow up to 2 applications to seed controls into the space. Save the
seeding state of each component separately, to be able to reattempt to
seed at a later time on failure.
Fixes: 155083005
Test: atest ControlsControllerImplTest
Change-Id: I28bed9bb0b221a3e5c9b293ed9d3f85e86404a38
Limit to 36 controls: 6 structures with up to 6 controls per structure
Fixes: 153606605
Test: atest ControlsControllerImplTest
Change-Id: Ieddceda4a0902e4b42208680c7a77ee03514a16c
Notifications which have interruped the UI (usually a HUN) can safely
bypass FGS lifetime extension because the system has done the best it
can to show the user this notification.
This valve is important in particular for things like a dialer which
might want to interrupt a user but need to do so again on the same
channel, for instance when getting multiple phone calls quickly in
succession.
Bug: 155594347
Test: atest ForegroundServiceNotificationListenerTest
Change-Id: Id80fba3191cc133d1e73ca04015f9cbed62fc086
Revert "Pass main executor to ActivityLaunchAnimator"
Revert submission 11213348-launch-animation-leak
Reason for revert: Regression b/156840927
Reverted Changes:
Id43847e3d:Break strong ref to ExpandableNotificationRow
I57ffe83b7:Pass main executor to ActivityLaunchAnimator
I5bddc38ac:Pass main executor to ActivityLaunchAnimator
Fixes: b/156840927
Change-Id: Icda11a53c0bbf826037af0736c65c0e57e8ce2e6
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
This reverts commit b28e0568a0.
Reason for revert: Rolling-forward with fixed unit test
Bug: 156697897
Bug: 149713060
Change-Id: I21e4b17ee53ee7b6698115e1b497253bb54b355f
Instantiation of the Controls Controllers is now flagged behind
PackageManager.FEATURE_CONTROLS. This is done in the following way:
* The class ControlsComponent has accessors to the top level
controllers (as Optional), but they will be Optional.empty() if the
feature is disabled.
* GlobalActionsDialog injects a ControlsComponent and works with the
optionals.
* ControlsRequestReceiver checks this flag and returns immediately if
it's false.
In this way, the whole controls subsystem is only instantiated if the
feature is supported.
Bug: 157244528
Test: manual (enable and disable the flag).
Test: atest ControlsComponentTest ControlsRequestReceiverTest
Change-Id: I05419bb28289afbf5813791cfc72c54a123f4c87
Ensures that screen is on for testGlobalActions_doesntStealImeControl
Fixes: 157174684
Test: atest com.android.systemui.globalactions.GlobalActionsImeTest
Change-Id: I067ccca29cbbba3831d46ba79d819fda0eb22969