| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Revert submission 20664269-b259469497-ss-cross-profile-dagger
Reason for revert: b/263453125
Reverted changes: /q/submissionid:20664269-b259469497-ss-cross-profile-dagger
Change-Id: I24affd9ced5ca4fa4959200d60ecf93b4b03d12a
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows processes that do not utilize the SysUI Dagger graph to
avoid having to subclass and instantiate it.
This change also makes the Screenshot cross-profile service take
advantage of this change.
Test: Turn on "Enable RequestProcessor" and "Enable Work Profile
Screenshots Policy" SysUI flags
Test: Take a screenshot of a work profile app
Test: Observe successful work profile screenshot
BUG: 259469497
Change-Id: I1a8c62ba079d90e575cab2a0e14b3f1466e1952c
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Switch to using newly exposed method Bubbles#showAppBubble as what
FloatingTaskController does is no longer POR.
Calling this allows 1 bubble from a specific app to be added to the
stack. The only user of this method is NoteTaskController which is guarded by the NOTE_TASK.
Bug: 237678727
Test: treehugger
Change-Id: I47c5c010a050796eff848ba3fcabc40cf5fbd902
|
| |
|
|
|
|
|
|
|
|
| |
This enabled launcher to show all desktop apps when user clicks on the
desktop tile in recents.
This is only enabled when Desktop Mode feature flag is enabled.
Bug: 244348395
Test: atest DesktopModeControllerTest
Change-Id: I3c89ef01fd7d1f457a7afabda94b481711c0a350
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Creates a new package within shell for floating tasks along with a
basic controller and interfaces for sysui and launcher to use to
manage floating tasks.
A single floating task is allowed at a time and they can only be
created if a sysui flag is turned on.
The floating task is backed by a TaskView, floats above all other
content, and can be moved via a handle at the top of the view. The
view sticks along the left and right edges of the screen, can be
stashed (similar to PIP), and can be removed by dragging to a dismiss
target in the middle of the screen (similar to PIP & bubbles).
The tests included trigger the sysui flag on and off to ensure the
flag behavior (i.e. that you can't create one unless the flag is on).
Test: atest FloatingTaskControllerTest
Bug: 237678727
Change-Id: I490c44685825e14166869b2cf7c2994ee0e30ba7
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- We were previously initializing components manually because some startup
is order-dependent, which led to an increasing number of dependencies
from ShellTaskOrganizer on things that it really doesn't need to know
about. The initialization order actually matches the dependency order
pretty closely, so instead we can have these components add callbacks
in the order they are created and initalize in sequence.
- Also move some logic out of constructors to the init callback
- The other subtle issue is that the provider for ShellInitImpl was
implicitly also ensuring that certain shell components were created at
startup (since they aren't otherwise referenced by any SysUI component
directly or indirectly). Instead, separate that out into another
more explicit provider, with the @ShellCreateTrigger annotation, and
allow subclasses to provide a @ShellCreateTriggerOverride annotated
provider for product-specific initialization
Test: atest WMShellUnitTests
Test: atest SystemUITests
Bug: 238217847
Change-Id: I4a2583ceeaf469130ac07fc8c4e267c28843b7b8
Signed-off-by: Winson Chung <winsonc@google.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
- SysUI now calls init/commands/dump via the ShellController interface
- Move ShellInit/ShellCommandHandler into the sysui package since it's
only called on sysui startup
Test: atest WMShellUnitTests
Test: atest SystemUITests
Bug: 238217847
Change-Id: I7b05dbab7648cb8a8c6f9381b0b5f545ed3398f1
|
| |
|
|
|
|
|
|
|
|
| |
- Some interfaces only existed to propagate configuration or keyguard
changes which now go through the ShellController. TaskSurfaceHelper
is no longer used since game dashboard has moved to GMS.
Bug: 238217847
Test: atest WMShellUnitTests
Change-Id: Ie8c5a77bf7bd5b8cc5f4a1b2382013228b1e5e3d
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Currently update configuration callbacks to use this interface
so that individual features don't need to expose their own config
change callbacks. Will followup with moving keyguard/shell init
/shell command handler.
Bug: 238217847
Test: atest WMShellUnitTests
Change-Id: Id526ed588de8cf962e821a3b9e1933a67f354d77
|
|
|
Restores ag/18917521
Reverted in ag/15142270fe17845890d147aca8720a32b8c73ecf
Test: Ran failed test in http://b/238359875
Bug: 235624311
Change-Id: I08457dac1aa09c44f0c9c02349e8c6773587cd84
Merged-In: I08457dac1aa09c44f0c9c02349e8c6773587cd84
|