This happened because
- recently we started counting MediaHeaderView as part of
maxDisplayedNotifications on lockscreen
- causing the last notification that should have shown on lockscreen
to restrict itself to shelf height, and later be replaced
with the shelf during layout; the shelf is not dismissable.
The fix is to
- ignore MediaHeaderView when counting shown notifications
- still include MediaHeaderView in contentHeight calculations
Fixes: 187304623
Test: have MediaHeaderView and many notifications on lockscreen
and swipe away all of them individually
Change-Id: I4e122b9321856880a5a09e03df61698eaf6b5f54
With the flag, dispatcher operates in physical space, so
if injecting into dispatcher, the events need to be 'un'rotated.
Bug: 179274888
Test: atest Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3
Change-Id: I9abdfd0540354ab6e3eac34ae15b784c0fcf6e2e
Previously the debug messages were misleading. It showed "[PERSISTED]"
even if the write was skipped.
BUG: 185786624
Test: manual
Change-Id: Ibe8f23f3fa193a2a32f94f8abdd8db03bf9d513f
A ClipData can contain multiple items, for example:
```
ClipData clip = ClipData.newPlainText("label", "ONE");
clip.addItem(new ClipData.Item("TWO"));
clip.addItem(new ClipData.Item("THREE"));
```
When a clip like this is pasted, the TextView impl inserts a newline
between each item. When the same clip is inserted via drag-and-drop,
no newlines are inserted.
This change makes the behavior of drop and paste consistent by updating
drop to match the paste behavior (since pasting has been around longer
and is more common).
Bug: 187428338
Test: atest CtsWidgetTestCases:TextViewReceiveContentTest
Change-Id: I08f30e619b858a4586ab9b4ed287be28b218231e
response to side fingerprint sensor state changes
Implements SideFpsEventHandler to handle interactions between power
button state and side fps state in PhoneWindowManager, displaying
ConfirmScreenOffDialog when the power button is pressed during
fingerprint enrollment. Uses IFingerprintAuthenticatorsRegisteredCallback
to determine when all dependencies are ready to begin checking side fps state.
Test: Press power button during fingerprint enrollment
Bug: 183997671
Change-Id: If02d74e2d8d9f01642b848743049cdec447f60cf
This CL implements the CarirerConfigs for both no calling icons and call
strength icons.
1. Carriers can choose to only show the no calling icons when there is
no IP connections.
2. Carriers can choose to hide the call strength icon, and show either a
blacnk icon (single SIM) or SIM card icon (multi SIM)
Bug: 181667933
Test: Manual tests
Change-Id: I54386cb7399c7e3b3160ad01e09cb71f7e1f1a6e
Merged-In: I54386cb7399c7e3b3160ad01e09cb71f7e1f1a6e
To be re-used by settings applications for other form factors.
Bug: 184967544
Test: make RunSettingsLibRoboTests -j40
ROBOTEST_FILTER=com.android.settingslib.core.lifecycle
Change-Id: I749dbd3f24bf77453d3ecc5d4374d11656498850