Commit Graph

813479 Commits

Author SHA1 Message Date
Terry Wang
f3602f993a DO NOT MERGE:Deflaky testLoggingStats_search_success
This is a test-only change.
The test is trying to verify the total latency is greater than 0ms.
But if the process goes really fast, it could be done < 1ms so the total
latency is 0ms.

This issue is fixed in Android T and above in ag/16995926.

Bug: 259157403
Test: AppSearchLoggerTest
Change-Id: I15977c7b5ade1109310a98a3e9a21a406b3070a7
2022-12-06 21:15:30 +00:00
Nate Myren
9b00dd413d Merge "RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag" into rvc-dev 2022-12-06 20:49:04 +00:00
Nicolo' Mazzucato
f980a759c6 Fix black frame when unfold animation starts
The dark scrim was added with a value of 0f (that means, completely black), and then updated in the background thread with a value of 1f (completely transparent).

This was ok when unfolding (as the overlay needed to be black at first), but not when folding (as it needs to be transparent at first)

When the background thread was slow, this was causing one completely black frame at the beginning of the animation.

Bug: 261560634
Test: start unfold animation repeatedly
Change-Id: I98e17d0204cb4d75a85d3c31c6a6faa8e58466f0
2022-12-06 20:27:10 +00:00
Brad Hinegardner
16ddd9e807 Handle DeadObjectExeption when changing users
Bug: 254633479
Test: manual verification
Change-Id: I40bd60bcb20078d548dd59d03ac612ef4a80b2c6
2022-12-06 15:18:43 -05:00
Shen Lin
3588cb06ba Fix crash when trying to dismiss dialog
Calling Dialog.dismiss() requires a safe condition, including that
dialog is shown,and activity is neither finishing nor destroying, so we
should add a precondition check here to avoid crash.

Bug: 248562161
Test: manual and atest
Change-Id: I87de2cd05680815d4bb4e80ac1e0d6e2e4a685f7
2022-12-06 14:51:31 -05:00
Michael Mikhail
93111fee94 Add New UiEvents for media dashboard
Adds two UiEvents when media session is added, the first one is logged when the carousel contains only one media player. The second event when the carousel has multiples, it is logged only once.

Bug: 241485754
Test: Tried log.e() and checked that it is working as explained in the
description.

Change-Id: I8380bfd14cde5c38b2940023e7ddce01fe3128ad
2022-12-06 19:29:02 +00:00
Pawan Wagh
48f304caf4 Merge "Fuzz java parcel surfaces" am: 8a09c9a244 am: bd98943f2c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2321414

Change-Id: I2546058994536bb8026e966b94d969ef8c5a4661
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 19:28:04 +00:00
Pawan Wagh
17d077ad01 Merge "Update fuzz config for java_binder_service_fuzzer" am: b0857a497e am: 4dd9069804
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2329838

Change-Id: Ia6b5bf96b4815a6be4b69026b723f61a0de994ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 19:27:25 +00:00
Shunkai Yao
f6bbabc889 Merge "Add AudioHalVersionInfo definition" am: 456118dc14 am: d045635392
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2322220

Change-Id: Ia2ad7ca929fbe7bf45eee13de3f2b1015834389a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 19:25:23 +00:00
Shaquille Johnson
7b82832fde Merge "Update Keystore with new fields for API V3" am: bf7a5eaf9e am: 57b88eef3b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2304140

Change-Id: I10f0d51b2544d893f1a222301918faa86a1ce925
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 19:22:47 +00:00
Presubmit Automerger Backend
a85abd5775 [automerge] DO NOT MERGE:Deflaky testLoggingStats_search_success 2p: 2c01a0bb7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20621276

Bug: 259157403
Change-Id: I0ab088b864d08cf7a54bd863ea384cc5052f12da
2022-12-06 19:18:45 +00:00
Terry Wang
2c01a0bb7e DO NOT MERGE:Deflaky testLoggingStats_search_success
This is a test-only change.
The test is trying to verify the total latency is greater than 0ms.
But if the process goes really fast, it could be done < 1ms so the total
latency is 0ms.

This issue is fixed in Android T and above in ag/16995926.

Bug: 259157403
Test: AppSearchLoggerTest
Change-Id: I15977c7b5ade1109310a98a3e9a21a406b3070a7
2022-12-06 11:15:38 -08:00
Shan Huang
0381a9bc89 Log config change messages at INFO so that they show up in BR.
Bug: 260220098
Test: Manual
Change-Id: I2f293f3659423c28381ad2484f903b1eea028431
2022-12-06 19:13:45 +00:00
Josh Tsuji
233c2f33c7 Disable light reveal migration in teamfood; it is not and was not ready.
Bug: 261602024
Test: light reveal goes back to working
Change-Id: I00f70fab289966423a035385a4a9d1371ffd8c46
2022-12-06 14:08:24 -05:00
Pawan Wagh
bd98943f2c Merge "Fuzz java parcel surfaces" am: 8a09c9a244
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2321414

Change-Id: Icf70bcaaf3c335a5e51413361188f2d1d3811046
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 18:46:42 +00:00
Pawan Wagh
4dd9069804 Merge "Update fuzz config for java_binder_service_fuzzer" am: b0857a497e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2329838

Change-Id: I9a403f282a786036e49f5e25e0847db5c5134a20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 18:46:02 +00:00
Pawan Wagh
8a09c9a244 Merge "Fuzz java parcel surfaces" 2022-12-06 18:45:22 +00:00
Shunkai Yao
d045635392 Merge "Add AudioHalVersionInfo definition" am: 456118dc14
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2322220

Change-Id: I490f723dc5fc2cb57f427d6fd21280e0d2f4e135
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 18:44:52 +00:00
Shaquille Johnson
57b88eef3b Merge "Update Keystore with new fields for API V3" am: bf7a5eaf9e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2304140

Change-Id: If24049776cb861ddf5fdf5d73253b84c11f09c73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 18:43:46 +00:00
Tracy Zhou
054f7d8090 Map split from the current running app to META+CTRL+DPAD_LEFT and META+CTRL+DPAD_RIGHT
Fixes: 246661484
Test: https://recall.googleplex.com/projects/f4cc906f-d337-414e-aea8-d5434a0c6e88/sessions/06cc05b5-c032-40f3-af8b-3b90860d2f37
Change-Id: I8b293a0eb7e198fc2ff25c4c5a57dbd58f6be2f4
Merged-In: I8b293a0eb7e198fc2ff25c4c5a57dbd58f6be2f4
2022-12-06 18:34:06 +00:00
Pawan Wagh
b0857a497e Merge "Update fuzz config for java_binder_service_fuzzer" 2022-12-06 18:26:56 +00:00
Caitlin Shkuratov
8d86871d01 [Chipbar] Don't add null icon descriptions to the main description.
Fixes: 260951134
Test: verify active unlock chipbar doesn't contain "null" in its content
description
Test: atest ChipbarCoordinatorTest

Change-Id: I2de3de5cd9146825e9ec706a7f1d7a6b1bacc737
2022-12-06 18:26:15 +00:00
Julia Tuttle
1bf468d2c2 Promote no_hun_for_old_when to teamfood
Bug: 253055301
Test: atest NotificationInterruptStateProviderImplTest
Change-Id: I103d5b70bebf32a58f9f58d16d954528540c75d8
2022-12-06 13:23:17 -05:00
Michal Brzezinski
8b8aa7d66e Optimistic fix for tile not getting redistributed in split shade
The issue is likely caused by QS tiles not getting redistributed in PagedTileLayout#onConfigurationChanged which does it only when orientation changes. One fix would be to remove that condition at all but then we would be redistributing for every configuration change or we'd need to make PagedTileLayout aware of split shade - none of these options seem good.

So the solution here is to force redistribution from QSPanelControllerBase which is already aware of split shade and can listen to changes there.

I'll also add more logs (in case bug is not fixed) in follow-up CL.

Bug: 255208946
Test: there is no reliable way to reproduce the issue, we'll see if it stops happening
Test: QSPanelControllerTest
Change-Id: I81630b6eec16237a1a665982553dfc5b9dbac54b
2022-12-06 18:21:09 +00:00
Shunkai Yao
456118dc14 Merge "Add AudioHalVersionInfo definition" 2022-12-06 18:16:25 +00:00
Kenneth Ford
4e52024f04 Merge "Continue searching for device state after exception" into tm-qpr-dev am: 5b7da895e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20644046

Change-Id: Ida58944e55fbb97fb128f8a9fd27d4299e90075d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 18:09:36 +00:00
Jeff DeCew
cbaff9b1cf Promote the SEMI_STABLE_SORT flag from teamfood to droidfood
Bug: 241229236
Change-Id: I8f4aafbd54e9c69ae371571b367ee2a510484ed9
Test: soaked in teamfood for weeks
2022-12-06 18:08:08 +00:00
Mady Mellor
72bb83fbad Merge "Create new owners files for desktop & freeform and add myself" into tm-qpr-dev am: 52b75ec452
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20623079

Change-Id: I27a953b67717c32ac7122e3890fbf17231983b11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 18:07:50 +00:00
Marcello Galhardo
117062ac35 Merge "Add Note Task shortcut" into tm-qpr-dev am: 1225077abc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19929964

Change-Id: Ic3473c241636cc344b2575954c2caf98d451337e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 18:06:37 +00:00
Kenneth Ford
5b7da895e2 Merge "Continue searching for device state after exception" into tm-qpr-dev 2022-12-06 18:03:45 +00:00
Mady Mellor
52b75ec452 Merge "Create new owners files for desktop & freeform and add myself" into tm-qpr-dev 2022-12-06 18:02:41 +00:00
Marcello Galhardo
1225077abc Merge "Add Note Task shortcut" into tm-qpr-dev 2022-12-06 17:55:37 +00:00
Will Osborn
28fa4b9b62 Merge "Fix tabletop autorotate freezing the device in portrait" into tm-qpr-dev am: 1616dafaf9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20608831

Change-Id: Ica67ee40b962170cccecbaa2d4d4a815a3d81b0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 17:49:47 +00:00
omarmt
41fa9e4e38 Invalidate NotificationChildrenContainer whenever NotificationHeaderViewWrapper.applyRoundnessAndInvalidate() am: 3e69219a37
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20582020

Change-Id: Ief1a195777c9b0c9ec75674448a3d66d37ef92a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 17:49:03 +00:00
Caitlin Shkuratov
8338268582 [Chipbar] Always tint the start icon correctly.
This creates a TintedIcon & TintedIconViewBinder and forces all chipbar
clients to provide the tint.

Fixes: 260954564
Test: active unlock chipbar watch icon has correct tint in light and
dark mode
Test: media ttt chipbar with default icon and app icon has correct tint
in light and dark mode
Test: media ttt receiver default icon has correct tint in light and dark
mode
Test: atest MediaTttUtilsTest MediaTttChipControllerReceiverTest
ChipbarCoordinatorTest

Change-Id: Ic5d0a97a41b78c851da78d0b159011b27086f8c6
2022-12-06 17:48:30 +00:00
Omar Miatello
026bfbbdc0 Merge "Define clear ownership for roundness SourceType" into tm-qpr-dev am: 446cb95aa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20494945

Change-Id: I71376cbc2b732ba8fcbe817171984793cd72b3ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 17:48:15 +00:00
Aaron Liu
70fec19e8e [Bouncer] Do not Autosize numpad.
The autosizing logic seems to have inadvertent side effects. Will remove
this for now.

The autosizing logic was added in ag/20612038. I'm opting to fix forward
because other changes were added into that CL.

Fixes: 261552438
Test: open up bouncer.
Change-Id: I44c41c93ad235b09fc6e4e9966b24c6b4fdcd915
2022-12-06 09:47:28 -08:00
Shaquille Johnson
bf7a5eaf9e Merge "Update Keystore with new fields for API V3" 2022-12-06 17:46:46 +00:00
Will Osborn
1616dafaf9 Merge "Fix tabletop autorotate freezing the device in portrait" into tm-qpr-dev 2022-12-06 17:43:06 +00:00
Nick Chameyev
9fd354c57d [Unfold transition] Use DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED for the overlay
Adding a flag DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED
when getting display list to calculate the size
of the unfold overlay.

Bug: 261591746
Bug: 221071695
Test: manual unfolds => check size is correct
Change-Id: I87990ec13eb726f9c70a05953462d011da4fb952
2022-12-06 17:42:23 +00:00
omarmt
3e69219a37 Invalidate NotificationChildrenContainer whenever NotificationHeaderViewWrapper.applyRoundnessAndInvalidate()
Test: manual test
Bug: 257000427
Change-Id: I8ce4567adc89552338fa6729320849fcf0b3b41c
2022-12-06 17:35:46 +00:00
Omar Miatello
446cb95aa1 Merge "Define clear ownership for roundness SourceType" into tm-qpr-dev 2022-12-06 17:34:59 +00:00
TreeHugger Robot
3e5a078ee3 Merge "[SB Refactor] Add table logging to the wifi view model." into tm-qpr-dev am: 49480248da
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20588810

Change-Id: I1cd3208f2d7ab2a22ce7be7dfee41cbbabac65ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 17:34:10 +00:00
TreeHugger Robot
0c81510994 Merge "[Dock Defend] Update flag to be resource-backed so we can enable it on certain devices only." into tm-qpr-dev am: d9c890d925
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20639909

Change-Id: Iafe7a529902abfd58d1877d6efa160cb50b1d74a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 17:31:14 +00:00
TreeHugger Robot
49480248da Merge "[SB Refactor] Add table logging to the wifi view model." into tm-qpr-dev 2022-12-06 17:31:13 +00:00
Aaron Liu
892d2c1ecd [Bouncer] Add StatusBarKeyguardViewManager test...
for the modern bouncer. We will maintain the old version suffixed with
_Old and delete it when we do cleanup. I have copied the tests and
replaced all bouncer references to use the bouncer interactor.

Fixes: 261172736
Test: atest StatusBarKeyguardViewManagerTest
Test: atest StatusBarKeyguardViewManagerTest_Old
Change-Id: I605481ed6d2d323ab3a3911e58dc725cda23b1fc
2022-12-06 09:04:59 -08:00
TreeHugger Robot
d9c890d925 Merge "[Dock Defend] Update flag to be resource-backed so we can enable it on certain devices only." into tm-qpr-dev 2022-12-06 17:03:24 +00:00
Muralidhar Reddy
a64c45d50e isSimPortAvailable API should return true if the calling app can activate a new profile on the selected port without any user consent or deactivate dialog.
Currently isSimPortAvailable API returns true if the port is active without any profile enabled on it or the calling app has carrier privileges over the selected port. It is hampering switching to MEP mode when the psim is active and empty.

Test: Manually verified isSimPortAvailable API behavior on C10 with EuiccPartnerApp.
Bug: 240273417
Change-Id: I4c9ad2bc6f1093163290be0e47f8a065245e5783
2022-12-06 16:57:00 +00:00
Michael Mikhail
2279b3a10f Merge "Keep metadata and buttons in the same position" into tm-qpr-dev am: 71d3dbf23b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20645352

Change-Id: I328580316dd337b61ad9a38733f7e0d8cefe4214
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 16:18:54 +00:00
Massimo Carli
97c4f7a070 Merge "Update a size-compat restart icon" into tm-qpr-dev am: cf1f4a3d4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20611874

Change-Id: I659dee13fcd96c2e29aeebcc54398e3b38022c9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 16:17:15 +00:00