| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/base into t13.0
Android 13.0.0 Release 52 (TQ3A.230605.012)
Change-Id: Ic80f318636f1f70bbd009504352ddde511d0dead
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | | |
Bug: 266716173
Change-Id: I802877c7cf5d539c755b27f8ce72a40f25cf5923
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
Introduces a new SYSUI_STATE_STATUS_BAR_KEYGUARD_GOING_AWAY QuickStepContract flag, to get an early signal when the keyguard is going away
Bug: 275319714
Test: manual
Change-Id: I06b925431ecc615e7445b386bd89a1c6f5198c84
|
| | |\
| | |
| | |
| | | |
tm-qpr-dev
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a better fit for the signal in launcher, since it identifies
whether the device is awake or asleep, where asleep also inclues AoD.
Also adding SYSUI_STATE_NOTIFICATION_PANEL_VISIBLE to the IntDef and
debug getSystemUiStateString, since it was missing.
Test: manual, unit tests
Bug: 275319714
Change-Id: I8a3275e177967c24f3bcd30308f11b3524e9d53d
|
| | |/
| |
| |
| |
| | |
Bug: 266716173
Change-Id: Ic8e5bb14c029bc6e7c7b0a25409c0e93e7847009
|
| | |
| |
| |
| |
| | |
Bug: 266716173
Change-Id: Ic5125a60dd4543f21426efbc48afe682f2b9cee9
|
| | |\
| | |
| | |
| | | |
tm-qpr-dev
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Connect if we're not already connected
bug: 261638193
test: Manual - https://drive.google.com/file/d/1Hm2X5YFoccjDYQ5KPo72uHahFjN0WR6T/view?usp=sharing
Change-Id: I25020f13188fb0972f08dfcf96846524333cca34
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The events are sourced from ScreenLifecycle.
Bug: 267222890
Test: added unit tests, and manually verified the change
Change-Id: Iae8df1f1c4654f37db9a0ec450aa0516405769bc
Merged-In: Iae8df1f1c4654f37db9a0ec450aa0516405769bc
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
mCentralSurfacesOptionalLazy is null for Automotive which results in a
crash.
Bug: 271167875
Bug: 271166940
Test: manual
Change-Id: I14a93a68f8fdf500e1ad23437bdb801ac3da673f
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before this cl, both Launcher and System UI processes were registering for hinge angle and device state (e.g. folded/unfolded) change events to calculate the current unfold animation progress. In some cases, launcher ui thread was busy, delaying the progress calculation from the hinge angle value (that was received ~at the same time by both processes). This resulted in launcher and sysui unfold animation not being synchronized in some cases.
With this cl, System UI process uses OverviewProxyService to send the unfold events to Launcher. In this way, both process always have the exact same progress (+- 1 frame)
This is currently guarded by a launcher flag, by default with the new behaviour, to allow devs to compare the experience and easily debug potential regressions.
Bug: 268490854
Test: Analysed perfetto trace + RemoteUnfoldTransitionProgressProviderTest + manual
Change-Id: Icdf3932644a545f4dbe077c8284911bf99f3d81c
|
| | |\
| | |
| | |
| | | |
tm-qpr-dev
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In multi-user multi-display systems where there could be multiple
SystemUI instances running, the concept of what displays are relevant
for a particular SystemUI may change. By adding a DisplayTracker class
to abstract away display retrieval and callbacks, these instances can
return the information that is most accurate for them.
Bug: 256236871
Test: atest SystemUITests
Change-Id: I51c1a380a344fb45d5e0de2c5c6ba5610733a3a2
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change pipes the current dream state to OverviewProxyService,
similar to how doze information is shared. A condition has been
added to monitor the dream state, and a callback relays this
information to the StatusBarStateController. A new CoreStartable
maintains the monitor for this interaction.
Test: atest StatusBarStateControllerImplTest#testSetDreamState_invokesCallback
Bug: 265755700
Change-Id: Ic927a7e55864453da026c14cd1c87e6a7cf22489
Merged-In: Ic927a7e55864453da026c14cd1c87e6a7cf22489
|
| | |\
| | |
| | |
| | | |
tm-qpr-dev
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Bug: 249831072
Test: atest SystemUITests
Change-Id: Id98ed38495feaab4780452ded14fe24b68ae6944
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, ScreenshotHelper provides utility functions to convert
between a hardware bitmap and a parcelable form for sending between
processes, but the originating code must handle the conversion itself.
This change moves the conversion so that it occurs seamlessly
inside of the ScreenshotRequest class, and refactors the inputs
to ScreenshotHelper slightly so that the ScreenshotRequest data class
is what gets passed in.
Bug: 264457397
Test: atest
Merged-In: I1041bbcfdc5f5ece6e98bd0844017d4f3dc4e9f3
Change-Id: I1041bbcfdc5f5ece6e98bd0844017d4f3dc4e9f3
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/base into t13.0
Android 13.0.0 release 35
Change-Id: I709958b2f015d1774b2ece25894467c3a279f93c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Updates onScreenTurningOn/device state callbacks
in the unfold overlay class to be executed on
the background thread.
This allows to draw the first black frame even
if SystemUI's main thread is busy at the moment,
so it will be less likely to have flicker because
of that.
Also this CL adds a separate thread to render
the vignette to avoid conflicting with the other
operations made on the shared background thread.
Bug: 262381044
Bug: 262518402
Bug: 233045200
Test: manual fold/unfolds with/without AOD enabled
Test: add artifical delay to SystemUI configChanged
that exceeds WM keyguard drawn timeout
=> test that there is a flicker without changes
test that there is no flicker with the changes
Test: atest com.android.keyguard.mediator.ScreenOnCoordinatorTest
Change-Id: Ic5a61839500dbbf63e9c5422bfc0085827526d92
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
META+CTRL+DPAD_RIGHT
Fixes: 246661484
Test: https://recall.googleplex.com/projects/f4cc906f-d337-414e-aea8-d5434a0c6e88/sessions/06cc05b5-c032-40f3-af8b-3b90860d2f37
Change-Id: I8b293a0eb7e198fc2ff25c4c5a57dbd58f6be2f4
Merged-In: I8b293a0eb7e198fc2ff25c4c5a57dbd58f6be2f4
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Replacing getCurrentUser calls in SystemUI with UserTracker to help
centralize source of truth.
Bug: 249831072
Test: atest SystemUITests
Change-Id: I23bd747192adcd715b96442f0834254ad0bb44a3
Merged-In: I23bd747192adcd715b96442f0834254ad0bb44a3
|
| | |
| |
| |
| |
| |
| | |
Bug: 221961069
Test: Presubmit
Change-Id: I9989039944fa72df561ad11d36bf02e24c78c909
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Removed 6 methods from the CentralSurfaces API that were either
redundant or merely passthroughs to NPVC.
Fixes: 254875405
Bug: 249277686
Test: atest and manual
Change-Id: Ie76c44d6dd290eab44a58937326ff075608cb927
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
Also removing some unused methods from the aidl interface
Bug: 193244407
Test: Presubmit
Change-Id: Ia13c09be93b45cd47fa3350630a2a4dc37e8756b
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Currently, the collection of binders to send to Launcher is inverted
and managed by OverviewProxyService which has to know about each
component directly (and a SysUI interface has to be created to support
this even if there are no other calls in SysUI to that component).
Instead, we should have each component register itself with the
ShellController for controllers which can be exposed to an external
process, and each product can customize which set of controllers it
needs to support.
- Add missing dump registration for ShellController
- Updating docs for creating remote callable controllers
Bug: 238217847
Test: atest WMShellUnitTests
Change-Id: Icd0ed33bdbd68b1dd9d782b9ba1f5b4a604479ba
Merged-In: Icd0ed33bdbd68b1dd9d782b9ba1f5b4a604479ba
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
- Remove some pip methods that aren't used from SysUI
- Migrate an old ISystemUIProxy pip call to IPip
Bug: 238217847
Test: atest WMShellUnitTests
Change-Id: Iab57329a9d79704b0e35fdb22a36594aa4368141
|
| |/
|
|
|
|
|
|
|
|
|
| |
Allow Launcher3 to override the taskbar state at runtime based on user
preference.
** AICP edits: add backup validators
Change-Id: Ic2616ff974e98e03edbcdbdf677fa40b40b37abb
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Semavi Ulusoy <doc.divxm@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Bug: 246006580
Test: Presubmit
Change-Id: I57e6346eca52c850a31bdfa399f58e9df97cf682
|
| |
|
|
|
|
| |
Bug: 241601880
Test: Presubmit
Change-Id: I54d1edf10fca40a392579155297d339cd3962fc4
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This allows to save some power while the device is unfolded but with screen off.
+ Avoiding registering more listeners if HingeSensorAngleProvider.start() is called multiple times sequentially without a `stop` in the middle. It seems that otherwise we would get duplicated callbacks.
+ Adding onScreenTurningOn and onScreenTurningOff callbacks to forward to Launcher (as only sysui is receiving them)
Bug: 240661156
Bug: 240374404
Test: DeviceFoldStateProviderTest
Change-Id: I40b77033690c2e708275ce49bbe156c781105a00
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Creates the package outside the 'phone' directory, since the shade is
not just on phones anymore and moves most of the shade code to it.
Moves the shade.transition package to it. Moves all related tests.
Expands a small amount of method scoping as necessary. Updates, adds,
and organizes imports as needed
Test: atest SystemUITests SystemUIGoogleTests
Fixes: 238333941
Change-Id: I721d35d4adb637f06501e92efe2d37421a3e84e5
|
| |
|
|
|
| |
Bug: 233006032
Change-Id: If934c96245eb782d7905334421d437a8b45bd801
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When bubbles are expanded we monitor for home gesture to animate
collapsig of the view.
When notification panel is open, it is on top of bubbles. But our
gesture monitor is still active. Listen to notification panel expanded
state and stop listening for home gesture while panel is expanded.
Bug: 232339931
Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.bubble.BubblesHomeGestureTest
Change-Id: I123ea6b5b82906d2ed1b0a71fc1e2fa9669abfff
|
| |
|
|
|
|
|
|
|
| |
Bug: 222308557
Bug: 216301097
Test: Manual, invoke assistant on the lockscreen and verify you can
go back
Change-Id: I675a0c694b8d85e7cd67f7a550fe8e8ab85e9ad2
|
| |
|
|
|
|
|
|
|
|
| |
This is the first step in moving over to the new public
android.util.Dumpable api.
Bug: 217567642
Test: m SystemUI
Merged-In: Ibaebcfb2c6c5326d0c45b8c72d868c76655d89a0
Change-Id: Ibaebcfb2c6c5326d0c45b8c72d868c76655d89a0
|
| |
|
|
|
|
| |
Test: local logs
Bug: 210426498
Change-Id: I373499e7f1dae23e404e153687ecf90e62160cb9
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit d9ba94bf79d1a615e4bfae7f09e31bf9853f7a7e.
Reason for revert: Restoring change with a fix.
The original problem seems to stem from using the wrong instnace of
WindowManager. Instead of using the diplay context's instance, I was
using the application context's instance. This was different from
the original code this cl refactors.
Bug: 218354102
Test: atest android.server.wm.MultiDisplaySystemDecorationTests
Change-Id: Ic6b680c12be5cbece4945e8e9ea41f578bbc9e0b
|
| |
|
|
|
|
|
|
|
| |
This reverts commit 4a04b83e12f10ac642939662cb917b440f0f3909.
Reason for revert: breaking wm presubmit
Bug: 224629724
Change-Id: I351c6e9ef17a45fab4a1f957af29c835e8fc1e30
|
| |
|
|
|
|
|
|
|
| |
This allows for removing several calls to Dependency#get out of
NavigationBarView and into its controller, NavigationBar.
Bug: 218354102
Test: manual && atest SystemUITests
Change-Id: I9faef58ada4ef61854aa88b05e580f80dce648cd
|
| |
|
|
|
|
|
|
|
|
|
| |
Also add some javadoc to CentralSurfaces.java to make its purpose
slightly clearer.
Bug: 197137564
Test: compiles
Test: atest SystemUITests
Change-Id: Id06e7ba7641d6d2bc276cce57101c9c7236bc758
Merged-In: Id06e7ba7641d6d2bc276cce57101c9c7236bc758
|
| |
|
|
|
|
|
|
| |
Clean up using of legacy split on SysUi.
Bug: 199236198
Test: pass existing tests.
Change-Id: I199dafc836d3ba7bc5db1740658247397523c200
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Currently, we make two binder calls whenever the sysui state changes
to fetch the current accessibility info. Instead we can use the
AccessibilityButtonTargetsObserver to listen for the changes and
only update the accessibility state when it changes.
Bug: 201633154
Test: Enable/disable accessibility services and verify button shows
Enable/disable > 1 accessibility services and verify that
button is long-clickable to show the services menu
Verify both of the above with gesture nav & accessibility service
as well
Change-Id: I84a7d20040c61ea75ac0b9e1f790f4a8b0ebe398
|
| |/
|
|
|
|
| |
Test: m -j
Bug: b/195946584
Change-Id: I26f48e78c91ef99757da9bc09d4a4f98dc50f863
|
| |
|
|
|
|
| |
Bug: 197636887
Test: atest SystemUITests
Change-Id: If6ff114f90fcfc19b9e3530bb0dea8cc0591f745
|