The previous size was causing some apps to crash which otherwise worked
fine. This more closely matches the hard limit in RecordingCanvas
(which we need to stay below to prevent SystemUI from crashing).
Fixes: 182891864
Fixes: 182232777
Bug: 169255797
Test: atest StatusBarIconViewTest
Test: manual - posting notifications with different drawable sizes
Change-Id: I8deacc651e05a202ec980eeb8bcdf4f92daea8eb
(cherry picked from commit 5cd7976f7d)
- use getPackageManagerForUser when looking up app info
- use the userId on the bubble, not the currentUserId from
BubbleController when writing to XML as the currentUserId
in BubbleController does not account for workprofile.
Test: atest SystemUITests
Test: atest BubbleControllerTest
Test: - have a managed work profile
- install the bubbles app *only* for the work profile
- make some bubbles
=> Notice bubbles appear
- dismiss all the bubbles
- restart the device, add a bubble
- open the bubble, navigate to the bubble overflow
=> notice the previously dismissed workprofile bubbles
are in the overflow
Bug: 184041127
Change-Id: Iefc4e4e80a569a4f3b4ac3b8a1268de1b475409b
S and later will require PendingIntents to explicitly specify whether
they are mutable or immutable.
Bug: 182166925
Bug: 162738636
Test: manual, just a flag change (tested that normal screenshot
flow works, verified that the log nags for unspecified mutability
disappeared)
Change-Id: I79b78f80c2d6af07a3826b6f79d0d86a5fc2f756
(cherry picked from commit ba571eaa74)
Due to DisplayImeController listens to insetsChanged and display
rotation at all time, it might caching unexpected IME shown state in
DividerImeController. Since RemoteInsetsControllerTarget only
controlling insets during split mode, it won't receive hideInsets event
when the target app request to hide IME. Thus leaving unexpected IME
state in split component. When the next time entering split screen,
it'll adjust split layout with wrong IME state.
Update to not caching IME shown state in DividerImeController if the
split is not activated.
Bug: 176846448
Test: atest WMShellUnitTests
Test: open IME and rotate and dock two apps in split mode, observed
the divider bar is interactable and there's no dim layer on the
secondary split
Merged-In: I2f63eebb208b8c987a0a05615ddef4f6feef10d6
Change-Id: I2f63eebb208b8c987a0a05615ddef4f6feef10d6
If the IME is showing while exiting split mode, the IME-adjust dims
won't be changed to hidden. This makes sure to hide the IME-adjust dims
when leaving split mode. This phases in fix of ag/12683264 to R.
Bug: 168505685
Fix: 181781489
Test: atest WMShellUnitTests
Test: manual check switching user while showing IME in split mode,
there won't have overlapping dim remains on the screen.
Merged-In: I778df71616827c01f415231d8bbc20b037181d10
Change-Id: Ib7b843effd6c58e2d2546c8845a629701d87a521
- In some cases, the ML model may return that it is a valid swipe
even if it is out of the current inset bounds
Bug: 178561216
Test: Enable ML model, rotate to landscape and try to swipe near
the edges
Merged-In: Iaecd11acf50a1a19fe5964e11e06fb564ca6988c
Change-Id: Iaecd11acf50a1a19fe5964e11e06fb564ca6988c
(cherry picked from commit 8afd10c966)
Per go/cdd-proposal-pip-size, the absolute minimum size when overridden
should be 48dp.
Bug: 174302616
Test: atest PinnedStackTests#testEnterPipWithTinyMinimalSize
Merged-In: I2f0dfd9a79049aaf696fde8703994deaecce63f5
Change-Id: I2f0dfd9a79049aaf696fde8703994deaecce63f5
This keeps it synchronized with dismissal and thus avoids
a race between pending and sync transaction application
Bug: 170801863
Test: launch a forced-multiwindow sizecompat app in split and
then dismiss split to that app. App should not be cropped.
Change-Id: I686605928ededcd5c5d032789fd883e17f437948
Merged-in: I4d89be443af5616174ea44e62774133e3b99597c