This class helps PIP, Bubbles, and future additions to the floating family peacefully co-exist.
Design doc: go/pip-bubbles-unification#heading=h.ip7f8yd5i199
This is the initial CL - a followup will add the permanent/temporary move logic, which restores floating content's original positions if a move is aborted.
Bug: 138115889
Test: atest SystemUITests
Change-Id: I762ce25700523ff581e1dc827de3bb9128ea97a2
Create a permission to allow clients to register pull atom callbacks to
statsd. This permission should allow mainline modules and other platform
clients register puller callbacks, but is not intended for 3p apps.
Bug: 146462168
Test: atest CtsPermission2TestCases
Change-Id: Iea50d137e2cc9f34644c8aa9548a7445f5ec16b8
@FlakyTest didn't help, they were still running in presubmit.
Test: compiles
Bug: 148934649
Bug: 148930538
Change-Id: I12bdb4f7259ea1aa18861bded4d5ae122720a733
The capability bit set is standard constrained - 16 bits and no more.
Can use a simpler/lighter int.
Per API council feedback.
Bug: 148680192
Test: atest android.net.wifi
Test: atest com.android.server.wifi
Change-Id: I47e8458d64f998da2e9743ad850687bc56a24cf6
This CL only defines the APIs and the aidl layer. LauncherAppsService
changes will be added in a separate CL.
Bug: 148085769
Test: atest com.android.server.pm.ShortcutManagerTest1 \
com.android.server.pm.ShortcutManagerTest2 \
com.android.server.pm.ShortcutManagerTest3 \
com.android.server.pm.ShortcutManagerTest4 \
com.android.server.pm.ShortcutManagerTest5 \
com.android.server.pm.ShortcutManagerTest6 \
com.android.server.pm.ShortcutManagerTest7 \
com.android.server.pm.ShortcutManagerTest8 \
com.android.server.pm.ShortcutManagerTest9 \
com.android.server.pm.ShortcutManagerTest10
Change-Id: I9590cd7e2ad2b0336280f23a2766e242158ceb4a
Here we implement three new lifetime semantics:
1. If there is a TaskOrganizer registered for a given windowing mode but
a second organizer is registered, the first organizer will no longer be
totally deregistered. It will no longer receive new tasks but will continue
to manage its old Tasks. This lets us run CTS tests that test TaskOrganizer
without totally breaking SysUI.
2. Implement unregisterTaskOrganizer, if you unregister the organizer it's
just finished. SysUI probably wont use but CTS will.
3. Implement a sort of registration chaining semantic. When unregistering
an organizer, the controller will attempt to restore the previous
organizer for the given windowing mode. This means that when CTS tests
unregister themselves SysUI can return to control.
Test: TaskOrganizerTests
Bug: 139371701
Change-Id: Ide240c707755b279ce6316f50ca8e023e38b7d66
Bug: 143308662
Test: manually followed "Testing Flag Propagation from the Server" from
go/android-flags-setup
Change-Id: Ie29ee855a8cb46436fe084bac69d7f920d5718b0
am skip reason: Change-Id Iab29da790c0f5faae68227770bc3a84bbc94f124 with SHA-1 a75e26be99 is in history
Change-Id: Id9bb3a105949c34234f9f8f5ae1043e5d70613a5
If after a display change new modes are added and the current active mode has
changed we assume the current default mode may be invalid. This change updates
the default mode to the current active mode.
Test: manual
Test: atest LocalDisplayAdapterTest
Bug: 146824575
Change-Id: Ic41c44a1e82c2a7a72c739335c7fe22bb2654f53
am skip reason: Change-Id I5995e3c5099a1e49cb0c54d33da1dbfcc94d4037 with SHA-1 afaa71d418 is in history
Change-Id: I79aa8395663734ade4dd7856158a4863e5de087b
am skip reason: Change-Id Iac8d9abe3b011485ffe8220d94f25f99d022014b with SHA-1 e94a7a4f97 is in history
Change-Id: Iba2bf0afa23cc1468ab776a172c2b14a9326aebd
Hook up NotifBindPipeline classes to ExpandableNotificationRow's API,
deprecating some API. Eventually we should remove the ENR middle man
fully and have the clients directly call NotifBindPipeline API so we
can also deprecate ENR's bind-related API.
This also moves NotificationTestHelper to the notification.row package
since it should really be there considering its job of inflating rows
for tests and allows our new class constructors to remain
package-private.
Bug: 145749521
Test: atest SystemUITests
Test: smoke test w/ Notify test apk
Test: "Group Hun Cancel" test in Notify test apk
Change-Id: I1e5ea68006c69332b7e5ae3e274d1deabeba6a70
Introduce NotifBindPipeline and friends which perform the following
roles.
NotifBindPipeline
* Knows when all view inflation + bind logic is done and calls callbacks
* Composes BindStage(s) to bind notif views when something changes
RowContentBindParams
* New place for inflation-related params in ExpandableNotificationRow to
live (inflation flags, increasedContentHeight, lowPriority)
RowContentBindStage
* Abstracted stage of work for pipeline to use that wraps around
NotificationRowContentBinderImpl in order to bind content.
* Provides params objects that clients can modify
* Provides invalidate call as part of BindStage that starts pipeline
This CL simply introduces the classes but does not use them. The latter
CL will focus on swapping out the existing NotificationRowContentBinder
API usage in ExpandableNotificationRow and attaching these classes.
See design at go/notification-bind-pipeline.
Bug: 145749521
Test: builds on wembley, crosshatch
Test: atest SystemUITests
Change-Id: I8366010afad1c8bd2d76cbe71d21b55bbbb11bbe