* See ag/20470413
Bug: 219411750
Test: Swipe up w/ stashed taskbar in portrait.
Thumbnail cutout doesn't appear when dragging to
fullscreen
Change-Id: I5f8279a3d7a1cfe14c6fafaa15307d258a6f2f10
Changed method names in WindowDecorModel Interface to better reflect
their purposes and made onTaskChanging (Previously
setupWindowDecorationForTransition) to handle captionCreation if needed.
Test: Manual Testing and created CaptionWindowDecorViewModelTests
Bug: 257288823
Change-Id: I43672fa37accba97b4ea330e01082d00137a4b01
lastActiveTime is not a reliable way to determine the Z order of
freeform tasks because it misses Z order changes of already
visible tasks (e.g. when bringing a semi occluded task to the top).
This change keeps track of the freeform task's Z-order by observing
TaskListener's appear/vanish and focus changes.
Bug: 258056163
Test: atest DesktopModeControllerTest DesktopModeTaskRepositoryTest
Test: manual:
1. Clear all open tasks and enable desktop mode
2. Launch YT from taskbar
3. Launch Gmail from taskbar
4. Tap on YT to bring to front
5. Launch Photos from taskbar
Top->bottom order is Photos, YT, Gmail
Change-Id: I6f2751b32f43d7b8ac2f97ce4c06be7ffa4dec11
Reloading color. In consequence, I removed as many reloadColor methods
from within the bouncer hierarchy as I could that were safe to remove.
By destroying the view, the newly inflated view should have the updated
colors.
Fixes: 260095692
Test: View pattern view after setting dark theme on and off.
Change-Id: Ic7037b06fc9b870fb9cb31af1bd7fdca0a12dbc0
A recent fix to not apply the bouncer scrim exposed this bug, where
pulling down the shade over the lockscreen was not correctly setting
the notif scrim.
Remove the hardcoded BLACK value, and align with all other ScrimStates
to use conditional logic for mClipsQsScrim.
Fixes: 259684978
Test: atest ScrimControllerTest
Test: manual pull down shade and use bouncer over lockscreen, in
regular and split shade modes
Change-Id: I057fad9149523e418f909bade90490effdc26eb5
Fixes: 259521464
Test: atest KeyguardUpdateMonitorTest
Test: manually,
1. Enroll face auth (Bypass or non-bypass doesn't matter)
2. Lock the phone
3. Open bouncer to unlock (face auth lock out state doesn't matter).
4. Enter the pin/pattern/password to unlock
5. Camera protection ring should not grow in size, scanning animation should not show up.
Change-Id: Ic35d8538a97bdab3ed22456f5055cbe20f1b56a1
Fixes the problem about launching a letterboxed app
from home having the "App isn't installed" message.
Fixes: 260188035
Test: Launch apps from Home and check they all start without the
"App isn't installed" message
Change-Id: Ib7915841c290e82f45a43d20024a6f3d50127ce0
This CL adds support for animatable icons for quick affordances. It
starts by supporting them in the flashlight affordance.
Fix: 259295242
Test: manually tested the flashlight affordance. Made sure that toggling
it on and off properly animates the icon and that turning the display
off and on again does not animate the icon again.
Change-Id: I4e6d261fba0431e72c3df5904510ae89469e0177
To fix the clock being too low, this undoes the relevant portions of
I3feea196bf348630697385e010a13955cdb0a897. We'll want to revert this
when we figure out why the clock is moving so low in AOD.
The clock still moves vertically a significant distance when entering and leaving AOD, but not so much as to overlap with the UDFPS/lock icon. I'm continuing to investigate what's causing that.
Test: Manual
Bug: 259758161
Change-Id: Iaeddce2d99a2b8db5afb6ac8ca508eeab3ae223e
This is needed for WifiScreenshotTest so that more of the pipeline can
be faked out.
Bug: 238425913
Test: manual: verified new wifi icon still works
Test: atest WifiScreenshotTest
Test: atest all tests in statusbar.pipeline
Change-Id: I335451e62c5db01143226d7cdc3ee29b93301bf2
Bug: 230841132
Test: Added new unit tests to verify the correct message is generated
when the network reports that a feature is not supported.
Change-Id: Idc7dc648dbe001d39d2e5a02803df38d98589aaf
Merged-In: Idc7dc648dbe001d39d2e5a02803df38d98589aaf
For some reason, touch events at y=0 can get dispatched all the
way to Quick Settings, even though it is not visible. This change
prevents that from happening in the most narrow way I could find.
Fixes: 235889526
Test: atest and manual
Change-Id: Iedbb3b55a94864d320b886ba7c29913ad4b8b145
With ag/19901205 shared_profile's volumes were also listed in
StorageManager#updateExternalStorageFileQuotaType.
However, the above API can be called from MediaProvider process,
without MANAGE_EXTERNAL_STORAGE permissions, resulting in
SecurityException("Only File Manager Apps permitted") to be thrown
from StorageManagerService#getVolumeList
This fix allows the exception to be bypassed in case the caller is
Media Store process.
Bug: 235321217
Test: atest android.appsecurity.cts.StorageHostTest
Change-Id: I6835cc4d29f3e9c85731979aaf9ab12a30f6419b
(cherry picked from commit 65a5b2db39)
Merged-In: I6835cc4d29f3e9c85731979aaf9ab12a30f6419b
With shell transition, the token can be null from
WindowOrganizerController#startNewTransition.
E.g. entering split screen.
Bug: 258913831
Test: atest TransitionTests
Change-Id: I77e85c4a340a88056c8188f5da99cf57bf52197e
Stop always putting another side to the bottom when a splitting task is
entering pip mode. Leave it to onStageHasChildrenChanged to handle, and
prevent expanding non-visible side to the top after dismissed the split
screen, so flows of leaving split to pip like swipe-to-home or launching
another fullscreen app won't expand another side to top unexpectedly.
When swipe-to-home from a split pair, it dismisses split screen.
However, it also performs fling divider to dismiss animation if one side
of the split is empty due to entering pip. Which might be conflicting
with each other and leaves the split layout modified with the fling
animation but not preperly reset divide position. Update to make sure it
always resets divide position and cancel running fling animation after
split screen dismissed.
Fix: 227727673
Test: atest WMShellUnitTests
Test: verify entering pip from split behavior with back-key, home-key
and launching another fullscreen app.
Video: http://recall/-/fLARJNt42LVxc3tt86SneW/gvATxkQhdJ0APek6RwRHelhttp://recall/-/fLARJNt42LVxc3tt86SneW/QfHt9H0XtDNDSP3h1AA8Khttp://recall/-/fLARJNt42LVxc3tt86SneW/QnbdeWo2007s8ZuMf1Syn
Change-Id: I2c53ed21e4766d06180e670ee21534cd622db081
* changes:
Integrate new touch architecture with UdfpsController
Change computed properties to regular in UdfpsOverlayParams
Introduce testable UDFPS touch architecture
Add rotatePointF to RotationUtils
Add tryDismissingKeyguard() to UdfpsController