Commit Graph

640958 Commits

Author SHA1 Message Date
TreeHugger Robot
a071ad396d Merge "Make sure RESTRICTED quota is properly counted." into sc-dev 2021-05-06 20:26:51 +00:00
Shashwat Razdan
013c30791e Resurrecting sessions when AiAi is bound for the first time
Fix: 186694105
Test: Manually built

Change-Id: I4e6c31c75eebfd2ba046d62740f3d08d1ab83982
2021-05-06 20:23:15 +00:00
Lyn Han
1b37f90770 Fix bug where lockscreen notification is minimized and not dismissable
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
2021-05-06 15:07:51 -05:00
Winson Chung
49a841c092 Merge "Fix a couple issues with nav bar & rotation button" into sc-dev 2021-05-06 19:55:55 +00:00
Makoto Onuki
a580918ff2 Merge "Revert "Don't defer FGS notification if it's already shown"" into sc-dev 2021-05-06 19:55:40 +00:00
cecilia
da8283f8e2 Slide transition from the media reco card to the active media player after a media reco is tapped.
Demo: https://drive.google.com/file/d/1o97nWDXh4EIbyxv-Sl1Y4VKOwW6vk7AR/view?usp=sharing

Bug: 186786793
Test: Studio builds
Change-Id: If83441dc4f1c27058cb8c3c8c626bc4535bdf926
2021-05-06 15:27:02 -04:00
Evan Rosky
1476d63b2b Compat-rotate motion-events injected into dispatcher
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
2021-05-06 12:18:42 -07:00
Anna Zappone
ff09af37dd Merge "Store PeopleSpaceTile in-memory" into sc-dev 2021-05-06 19:16:25 +00:00
Matt Pietal
8ddca3c6cb Merge "Smartspace - Support Do Not Disturb" into sc-dev 2021-05-06 19:13:50 +00:00
Caitlin Cassidy
6afee4990a Merge "[Ongoing Call] Hide chip when app is in foreground." into sc-dev 2021-05-06 19:11:36 +00:00
Ying Xu
11cbeca7ba Merge "Implement the CarrierConfig for call indicators" into sc-dev 2021-05-06 19:04:50 +00:00
Pierre Barbier de Reuille
6d82bd39e7 Merge "Save/restore view states when reapplying RemoteViews for color changes" into sc-dev 2021-05-06 18:54:54 +00:00
Pierre Barbier de Reuille
94cd7cbb04 Merge "Remove system_app_widget_internal_padding resource" into sc-dev 2021-05-06 18:54:16 +00:00
Winson Chung
a8b62357eb Lazy initialize the choreographer
Bug: 187177407
Test: Manual
Change-Id: I7c593c96335d1bfafd682647b231ec1f3d8030d5
2021-05-06 11:52:33 -07:00
Songchun Fan
7610e4b9e7 [SettingsProvider] better debug messages for invalid write arguments
Previously the debug messages were misleading. It showed "[PERSISTED]"
even if the write was skipped.

BUG: 185786624
Test: manual
Change-Id: Ibe8f23f3fa193a2a32f94f8abdd8db03bf9d513f
2021-05-06 11:52:19 -07:00
Nikita Dubrovsky
e480958234 Make drop consistent with paste for multiple text items in a ClipData
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
2021-05-06 11:50:52 -07:00
Rambo Wang
a863b0297b Merge "Make LocationAccessQuery's builder safer to use" 2021-05-06 18:45:03 +00:00
Rob Carr
b71cd0f51e Merge "ANativeWindow_fromSurface: Use acquire not incStrong" into sc-dev 2021-05-06 18:44:36 +00:00
Shuo Qian
f3dc01bf8c Merge "Handles Telephony service not up fatal exception in CallerInfoAsyncQuery" into sc-dev 2021-05-06 18:44:20 +00:00
Nate Myren
9cada3c56a Disable status bar indicator icon
Fixes: 187057608
Test: manual
Change-Id: I5d9b2f77ec5d4af602a23fda8870c2831ba983b4
2021-05-06 11:40:18 -07:00
TreeHugger Robot
8c62b2ba7c Merge "Rename OnProjectionStateChangeListener -> OnProjectionStateChangedListener" into sc-dev 2021-05-06 18:36:32 +00:00
Kweku Adams
c942339c09 Handle out-of-ej-quota case.
Downgrade a requested EJ-sync to a regular job if JobScheduler returns
FAILURE.

Bug: 178852366
Test: atest ContentResolverTest (all)
Test: atest CtsSyncManagerTest
Test: atest SyncOperationTest
Test: atest SyncManagerTest
Test: atest SyncRequestTest
Change-Id: Ia10953e3ae56dab8c4ca120fd9f07ee1c45d6306
2021-05-06 11:32:24 -07:00
Richard Coles
da01e47e60 Merge "webview: switch timestamps to uptimeMillis()." into sc-dev 2021-05-06 18:17:52 +00:00
Fabian Kozynski
d3088e92fe Merge "Update privacy indicators bg color" into sc-dev 2021-05-06 18:16:26 +00:00
TreeHugger Robot
97a076bd29 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-06 18:10:03 +00:00
“Grace
8b1189fda5 Configures SideFpsEventHandler to handle PhoneWindowManager behavior in
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
2021-05-06 17:59:05 +00:00
Fabian Kozynski
f0b4194fbc Set the default background color to ACTIVE
This corresponds to the default state of tiles.

Test: no test
Fixes: 187414055
Change-Id: I85fe80becd8305bb6600921d08d7121c33481f4a
2021-05-06 13:56:29 -04:00
Amit Mahajan
fcddb64c5c Merge "Avoid spurious logging for read device identifier denial." into sc-dev 2021-05-06 17:54:58 +00:00
Makoto Onuki
94badc5214 Revert "Don't defer FGS notification if it's already shown"
Revert "Verify behavior when FGS uses existing notification"

Revert submission 14414063-fgs-defer-fixes

Reason for revert: b/187373264
Reverted Changes:
I081a3cc88:Don't defer FGS notification if it's already shown...
I083583550:Verify behavior when FGS uses existing notificatio...

Bug: 187373264

Change-Id: I82edba69c583791ec603107b3407ce7a5efe83a0
2021-05-06 17:50:16 +00:00
Seth Moore
27bc799e7e Merge "Don't re-wrap DeviceIdAttestationExceptions" 2021-05-06 17:09:56 +00:00
Jing Ji
7cf0ac5025 Merge "Validate the ProcessRecord prior to insert to LRU list" into sc-dev 2021-05-06 17:08:09 +00:00
Evan Rosky
0214d012f6 Merge "Revert "Add reporting to monitor apps incorrectly using getRaw"" into sc-dev 2021-05-06 17:04:54 +00:00
TreeHugger Robot
d7f30b0e02 Merge "Update Icon find shared library resources" into sc-dev 2021-05-06 16:54:12 +00:00
Bill Yi
717b43c75c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1d6c1abe20ee7e13b137e290db07e63afc3bcf79
2021-05-06 09:53:24 -07:00
TreeHugger Robot
949d11e69f Merge "Dismiss PackageInstallerActivity when SimpleErrorDialog cancelled" into sc-dev 2021-05-06 16:51:36 +00:00
Lyn Han
03c1cfd7e0 Restore 1:1 relationship between swipe and shade expansion
Fixes: 187340058
Test: manual
Change-Id: I77192eaf20d765c0198485c28e5680aaf6a76618
2021-05-06 11:49:36 -05:00
Treehugger Robot
56d59c655c Merge "Allow ART profile saver period to be parsed from sys props" am: 44da0f67b4 am: 41cb7914b8 am: 55e2972686
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1698088

Change-Id: I00b86c46ef1b48bff084858814ad9457bc55e977
2021-05-06 16:47:06 +00:00
Treehugger Robot
55e2972686 Merge "Allow ART profile saver period to be parsed from sys props" am: 44da0f67b4 am: 41cb7914b8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1698088

Change-Id: I3f078a0ec98b2922703ce61ee50cf4a6d8a11611
2021-05-06 16:30:03 +00:00
Shuo Qian
839508eea2 Handles Telephony service not up fatal exception in CallerInfoAsyncQuery
Bug: 181062609
Test: Treehugger
Change-Id: I5df03a61f55f863e17594aa3239433a5048a4890
2021-05-06 16:26:33 +00:00
Silin Huang
d245565acc Merge "Wallet view UI tweaks." into sc-dev 2021-05-06 16:17:33 +00:00
Treehugger Robot
41cb7914b8 Merge "Allow ART profile saver period to be parsed from sys props" am: 44da0f67b4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1698088

Change-Id: Ibc90d4762c992cb38b42e22dc71570c3b2ded39a
2021-05-06 16:15:19 +00:00
Treehugger Robot
44da0f67b4 Merge "Allow ART profile saver period to be parsed from sys props" 2021-05-06 16:01:15 +00:00
Leon Scroggins
ee8da6bdbf Merge "AImageDecoder: return BAD_PARAMETER on null info" into sc-dev 2021-05-06 15:51:52 +00:00
Soonil Nagarkar
857709a8b8 Add additional logging around foreground/permitted
Additional logging only applies to debug builds.

Bug: 184924939
Test: manual
Change-Id: If7f4e7703974191993cff57c4103c84a4bb98960
2021-05-06 08:40:49 -07:00
yinxu
3948bf5d04 Implement the CarrierConfig for call indicators
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
2021-05-06 08:38:39 -07:00
Anna Zappone
5ffc60dfbe Store PeopleSpaceTile in-memory
Bug: 187306509
Test: PeopleSpaceWidgetManagerTest
Change-Id: Ib15ba0b134fe13d359455cc5aaf2608a99469568
2021-05-06 16:32:06 +01:00
Alex Stetson
c3f60fb944 Move HideNonSystemOverlayMixin to SettingsLib
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
2021-05-06 08:25:13 -07:00
Treehugger Robot
3dd61f2dc9 Merge "Cancel NotificationTimeout alarms when canceling notification" am: 9e7ac57a6c am: c60c7a1a4a am: f82ddac1f5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1695745

Change-Id: Ied244fadf461a1147e85fbd02bdf945672e5d6b8
2021-05-06 15:24:26 +00:00
Nate Myren
6c1ae930f3 Merge "Ensure storage permission revoke happens for all users" into sc-dev 2021-05-06 15:21:11 +00:00
Fabian Kozynski
d8720dfa11 Remove extra padding in QS header
Fixes: 187069480
Test: manual
Change-Id: I5a0e8ab19ec7944b04edf663ba3a1e1e5693b310
2021-05-06 11:14:19 -04:00