it sets the seekbar visibility to invisible when it should be disabled.
So it keeps the space for the seekbar available which keeps the
positions of other UI components in the same original position.
Bug: 249989837
Test: atest MediaControlPanelTest
Test: Checked the new changes applied on UMO UI.
Change-Id: I77131a60bc6bce87e326828fe5d799538b19f16c
When NotificationPanelView starts fade-out by swiping up, will notify
KeyguardUnlockAnimationController to call
onKeyguardExitRemoteAnimationFinished for starting keyguard going away
remote animation.
Unlike legacy animation that will call KeyguardViewMediater#handleHide
-> set KeyguardViewMediater#mHiding -> handleStartKeyguardExitAnimation,
with shell-transition, SystemUI will call through
KeyguardService#mExitAnimationRunner#onAnimationStart ->
KeyguardviewMediater#startKeyguardExitAnimation without setting mHiding
as true, that will unexpectedly cancel the animation sometimes.
Fix this unexpected keyguard hiding state handling and also add a unit
test for verifying this behavior.
Fix: 260100540
Test: manual as steps with enabling shell-transition
1) Turn on device with power key to boot the device.
2) After booted, swiping the lockscreen to home
3) Verify if home surface was visible to user after unlocked
Test: atest KeyguardViewMediatorTest#\
testStartKeyguardExitAnimation_expectSurfaceBehindRemoteAnimation
Change-Id: Ib927daea954bf1e9e6f6202a2b778c743e8bcd59
A new dock setup state to indicate that dock setup has been prompted but
not yet started.
Bug: 259586571
Test: manually
Change-Id: I38a17f5e4b03693c7b45e7ed8987af1f37192b16
Ensure that DesktopModeController and DesktopModeTaskRepository are only
created when they are needed, when the desktop mode flag is on.
With the previous dagger configuration WMShellBaseModule relied on
submodules to provide an implementation if one exists.
If the submodule does have the implementation defined, it is always created and
supplied to WMShellBaseModule provider method.
Provider method in WMShellBaseModule then decides, based on flags,
whether to return that implementation or not. But the instance is always
created, regardless of that flag check.
This change ensures that DesktopModeController and
DesktopModeTaskRepository are only instantiated if WMShellBaseModule
provider methods will provide a corresponding instance. This is achieved
by relying on lazy instance creation by dagger.
If the instances won't be provided due to flags being off, the instances won't be
created.
Bug: 260908558
Test: build and run sysui with desktop mode flag off, observe
DesktopModeController object is not instatiated
Change-Id: Ia155b8e079072e543c98463a58ab1907729db7b0
Parity with legacy. This tells surfaceflinger to allow more
time to composite frames during animations -- reduces likelihood
of missing frames.
Also, pause task-persisting during this period to avoid lock
contention (also parity w/ legacy).
Bug: 258881120
Test: run graphics/coldlaunch/open-youtube microbench and observe
aggregate for SFSTATS_GLOBAL_MISSEDFRAMES-mean
Change-Id: I29afc5dca935e7b5db338b9f85c405cccafe09cc
Mostly, this re-factors the Media TTT CLI to be more flexible in
handling any optional arguments.
Bug: 260127537
Test: `adb shell cmd statusbar media-ttt-chip-sender MyTablet
TRANSFER_TO_THIS_DEVICE_SUCCEEDED showUndo=false` -> shows chipbar but
without undo button
Test: Other adb commands with other params (`useAppIcon=false`,
`id=someId`) still work correctly
Change-Id: Iabc5029f6c66d8b348e5b7a224b221f240ec6ce5
As the height is fixed, the bottom constraint is not needed. With the new ConstraintLayout version they were causing a conflict that ended up making the media player with a smaller height.
Bug: 261475673
Test: QSMediaPlayerContent
Change-Id: Ia5373a624e1c597af8d4899f9743672df23c9c88
The bouncer view has a slight scroll feedback with touch and clips the children when scrolled up too far.
This is because of a parent container that has another child and has a margin top. I have moved the bouncer view
to the root view. This is fine because the sibling keyguard message area
is now only used when bouncer is not showing. Additionally I took the
sum of those margins and set it as the padding top in the view binder.
Fixes: 260477609
Test: Open bouncer.
Change-Id: Icdf5a314115693d9f7188971adba1396dac105e6
Instead of returning if a sensor value hasn't returned
we continue to look for a state that satisfy's
the current device configuration.
This fixes scenarios where some sensors return values
much faster than others on startup, and certain
states may have their conditions met.
Bug: 257292818
Test: Manual
Change-Id: I1796a682f0fa82ab9cba39e496369f59fd9c5721
QS was not visible because we were not updating QS expansion when heads up notification motion was in progress. Now we will do it when swiping down, so after going below starting movement position.
Fixes: 259447896
Test: show heads up notification -> swipe down on it -> QS should be visible throughout the whole down motion
Change-Id: Id54d7ac289fdd5bb527d9aa985e2bff90c4a4307
Activity info is not used by the InternetTile, so we can remove them to
avoid unnecessary tile updates.
Bug: 260714553
Test: Unit tests
Change-Id: I24575d87909db3d1824a37503458f1b7bdbced2e
Currently there is a limit on the number of shortcuts an app can publish
in respect to each launcher activity. This CL further implements a
global maximum of total number of shortcuts an app can publish to
mitigate from any potential system health issue.
Bug: 250576066
Test: manual
Change-Id: I94b4e39475c7585ec67f15df1256fdf0b65f3bec
regained. For the bonuncer, often times the UDFPS overlay, or AOD can
take the window focus. This will prevent the window of the bouncer from
sending signals to the input manager to hide/show the keyboard. Add an
override method for the password view to show or hide the keyboard
contingent upon the visibility of the view. Also refocus edit text when
changing orientation of device.
Fixes: 259552291
Test: Open scrimmed bouncer from AOD.
Test: Open bouncer and hide bouncer a bunch.
Test: Open bouncer from udfps overlay.
Test: Unit test.
Test: change view mode from landscape to portrait when on bouncer on tablet.
Change-Id: Ic30099408086f6dcc63506cac6ca2fb015504d17