When there are no recents items shown, any tap or swipe will dismiss it
and go back to the launcher.
Bug: 31464845
Fixes: 31464845
Test: manual - overview with no recents and tap the screen to dismiss
Change-Id: I98987daf4d064e3f65141f790e68018fcf445c26
- When device rotates, ensure that the PIP continues to show in the
same aspect ratio, snapped to the same logical snap point.
- Move common snapping code to policy so that it can be shared between
SystemUI and the framework.
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testPinnedStackInBoundsAfterRotation
Change-Id: I2d9f1a2dc077a55c39acc1ccba982c255e2ff3a4
- Ensure we use the right display size when calculating PIP bounds.
- Also update interface to take the display id.
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testPinnedStackDefaultBounds
Test: #testPinnedStackMovementBounds
Change-Id: I01fd8ba6dee212c29a9a092673ee8f7843e41af6
Test: Selected a printer via select printer activity
Pressed up button in select printer activity (no printer get
selected)
Change-Id: Ifcd133eb0ceb973464cbd35b6ee87c9f09221af4
The linear layout that represents the buttons in the nav bar are added
programatically. Its xml layout values are overwritten, so set the
gravity to to center in its parent to ensure the buttons are always
centered.
Change-Id: Id4d380e8010e316907bc31f0ee6bc8d4624c6667
(cherry picked from commit 288c1c41d5784ba0f5912709b3101abcd8cd7e2a)
Since mTaskStackView contains and correctly maintains a task stack,
there is no need for mStack in RecentsView as it does not maintain
any task removal states.
Bug: 32414287
Test: manual - ran through multiple overview scenarios
Change-Id: I1b744fbc4cd7bb5ed382f55157fa7b5446e20301
Overriding updateMediaMetaData() in CarStatusBar to ignore updates from
media metadata.
Bug: 31065803
Change-Id: I2078186581f5d66d4d27ebf63451e39a52030a8b
(cherry picked from commit 05e19d01c99bec2b406bbe1e1f0800c1805dcaf4)
The new HVAC design calls for the temperature buttons to be on the
side of the nav bar, at the same position as the nav icons. Decreasing
the width of the button container to 760dp as per go/aae-ncar-por.
Change-Id: Ic2878be0d42cf37ba09bb3aeec68813ad3d1fb8a
(cherry picked from commit 3431cdac24758e7d29cd0e1878f4b6349d2a7950)
- AccessPointListener was not set on AccessPoint in one of the code
paths and as a result, the UI wasn't notified of changes to the
AccessPoint.
Test: Manually tested and verified that notification changes were
delivered to the UI. Also added unit test.
bug:31945554
Change-Id: I89affada5dead4edc4218f424eec6b7f4a4e26a7
The split ambient settings default to on - which is a bad experience
if the user explicitly turned it off before the split.
Change-Id: I986d35a1a28e97f4c8d7d3d47ed5658e1836a44f
Fixes: 32332195
Test: Flash angler to NYC, disable ambient, upgrade to NYC-MR1, check if "Lift to check phone" is still off.
- Adding basic behavior to move PIP window and launch back into
fullscreen, as well as drag it to dismiss.
Test: Deferring CTS tests as this interaction is only temporary and not
final
Change-Id: I5272a045090c20c45b345813d10dc385c3f83221
This is used in secondary setting page: App & Notification > AppDefaults
Bug: 31799948
Test: manual
Change-Id: Icc8fa15352006034743c17d2ee943c05a21f612f