Commit Graph

726677 Commits

Author SHA1 Message Date
Ian Hua
d1c3fab8fa Merge "Add nnapi_native flag namespace." am: bae244ddd1 am: a2cc0a2c8a am: 0d6f3a81ff am: 31f99e11a9 am: 9c925277e5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1845056

Change-Id: I6430c3e426a4e9025186392f6478c8d00481ab9a
2021-10-19 17:10:31 +00:00
Riley Jones
166cf61cdd Merge "Adding definitions for AccessibilityAction directional swipes. Test: CL adds definitions - existing unit tests should still work." 2021-10-19 17:07:27 +00:00
Ian Hua
9c925277e5 Merge "Add nnapi_native flag namespace." am: bae244ddd1 am: a2cc0a2c8a am: 0d6f3a81ff am: 31f99e11a9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1845056

Change-Id: I18714fe4ab1ee31e6a8658a44c0b8d366055baf9
2021-10-19 16:57:56 +00:00
Ian Hua
31f99e11a9 Merge "Add nnapi_native flag namespace." am: bae244ddd1 am: a2cc0a2c8a am: 0d6f3a81ff
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1845056

Change-Id: I794821f9f4ce6076f88fcd08941f7c936be1582e
2021-10-19 16:41:53 +00:00
Lei Ju
df08d4937e Merge "Fixes an NPE caused by null sequence." 2021-10-19 16:29:57 +00:00
Ian Hua
0d6f3a81ff Merge "Add nnapi_native flag namespace." am: bae244ddd1 am: a2cc0a2c8a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1845056

Change-Id: I4b4305fb50decbe6d6336d7613914fd27f87ba60
2021-10-19 16:26:44 +00:00
Jay Aliomer
25ad585632 Merge "Only cache mini bitmap wallpaper when there are widgets" into sc-v2-dev am: 4743b44cf9 am: 7f003540d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16066645

Change-Id: I35ea7221daf44a641d47ccfea2a17e4695b36e19
2021-10-19 16:21:07 +00:00
Dave Mankoff
43887b95e8 Merge changes Icde45251,Ic5356aa0 into sc-v2-dev am: 1585fa8641 am: 4e2db854a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16049901

Change-Id: I8c4b4bf064a1498a932c1c5f5d018046a6f9df80
2021-10-19 16:20:23 +00:00
Ian Hua
a2cc0a2c8a Merge "Add nnapi_native flag namespace." am: bae244ddd1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1845056

Change-Id: Ia3b844b3a6f26d78b81f2f1df69c68d759dbc3e4
2021-10-19 16:14:32 +00:00
Jay Aliomer
7f003540d8 Merge "Only cache mini bitmap wallpaper when there are widgets" into sc-v2-dev am: 4743b44cf9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16066645

Change-Id: I398adeb1a1b4072d9e0d47fc27e8dc08c3349597
2021-10-19 16:03:41 +00:00
Dave Mankoff
4e2db854a2 Merge changes Icde45251,Ic5356aa0 into sc-v2-dev am: 1585fa8641
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16049901

Change-Id: Ide689e562e20f6928835b94bac13ea3110887c37
2021-10-19 16:02:25 +00:00
Treehugger Robot
71d1f6b377 Merge "Removed Bluetooh ScanFilter hidden API usage." am: fdc344e6b6 am: c6c95a9eac am: d352c35c43 am: 18f8336084 am: 1c281a84f7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1845060

Change-Id: I49dbcd98de47f015c0004183fe1e5dc50307aa88
2021-10-19 15:56:28 +00:00
Jay Aliomer
4743b44cf9 Merge "Only cache mini bitmap wallpaper when there are widgets" into sc-v2-dev 2021-10-19 15:53:34 +00:00
Ian Hua
bae244ddd1 Merge "Add nnapi_native flag namespace." 2021-10-19 15:53:21 +00:00
TreeHugger Robot
60f4f0a729 Merge "Batch shortcut results to a single Handler message." 2021-10-19 15:51:52 +00:00
Dave Mankoff
1585fa8641 Merge changes Icde45251,Ic5356aa0 into sc-v2-dev
* changes:
  Cache flag values when they are read.
  Restart SystemUI when a flag changes.
2021-10-19 15:49:46 +00:00
Treehugger Robot
1c281a84f7 Merge "Removed Bluetooh ScanFilter hidden API usage." am: fdc344e6b6 am: c6c95a9eac am: d352c35c43 am: 18f8336084
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1845060

Change-Id: I85a52900f45d52f14046eb79ee603c40802de89c
2021-10-19 15:43:58 +00:00
Treehugger Robot
18f8336084 Merge "Removed Bluetooh ScanFilter hidden API usage." am: fdc344e6b6 am: c6c95a9eac am: d352c35c43
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1845060

Change-Id: I03fe7ee813070c7d26d3409edfdf599572021cbb
2021-10-19 15:32:24 +00:00
Nathalie Le Clair
21223c9bb8 Merge "Make list of SADs to query configurable" 2021-10-19 15:15:46 +00:00
Treehugger Robot
d352c35c43 Merge "Removed Bluetooh ScanFilter hidden API usage." am: fdc344e6b6 am: c6c95a9eac
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1845060

Change-Id: I867006fbab1766868a3de0908b63a96fedc44a6d
2021-10-19 15:15:26 +00:00
Michał Brzeziński
cb41847c62 [automerger skipped] Merge "Revert^2 "Revert "Provide IconProvider in sysui dagger""" into sc-v2-dev am: d41437abf4 am: 4d8c07088b -s ours
am skip reason: Merged-In If4ab0590f4b850103411b6a2dccf2092bb06d563 with SHA-1 d5abf60750 is already in history. Merged-In was found from reverted change.

Reverted change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16063846

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16085830

Change-Id: I7c87107f4d6402868e48ab9e234e0634366c53bf
2021-10-19 15:14:08 +00:00
Michał Brzeziński
4d8c07088b Merge "Revert^2 "Revert "Provide IconProvider in sysui dagger""" into sc-v2-dev am: d41437abf4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16085830

Change-Id: I85efcd665cd3c14feb53e28df8e8be2d5b133264
2021-10-19 15:02:21 +00:00
Treehugger Robot
c6c95a9eac Merge "Removed Bluetooh ScanFilter hidden API usage." am: fdc344e6b6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1845060

Change-Id: Id34dc2bb88b92ee44024c9b1ac18d8bb41b8bd2d
2021-10-19 14:57:26 +00:00
Michał Brzeziński
d41437abf4 Merge "Revert^2 "Revert "Provide IconProvider in sysui dagger""" into sc-v2-dev 2021-10-19 14:50:22 +00:00
Beth Thibodeau
98a06f9480 Merge "Remove old power menu code" into sc-v2-dev am: c950f9ab90 am: 8d7dcc41cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16062948

Change-Id: Ib83f826238aee8ba6c2a022035e68494b7e7a83b
2021-10-19 14:42:13 +00:00
Treehugger Robot
fdc344e6b6 Merge "Removed Bluetooh ScanFilter hidden API usage." 2021-10-19 14:41:30 +00:00
Michał Brzeziński
9a003a67aa Revert^2 "Revert "Provide IconProvider in sysui dagger""
769f04c8f0

Change-Id: I654c4fb5d393e8ac13840625662fa738359df4df
2021-10-19 14:36:35 +00:00
Beth Thibodeau
8d7dcc41cf Merge "Remove old power menu code" into sc-v2-dev am: c950f9ab90
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16062948

Change-Id: I9f780006bd83eb344e9ae9b3bc2b50a5c68d94d9
2021-10-19 14:27:52 +00:00
Beth Thibodeau
c950f9ab90 Merge "Remove old power menu code" into sc-v2-dev 2021-10-19 14:15:08 +00:00
Joshua Trask
0b710af834 Batch shortcut results to a single Handler message.
The one-at-a-time processing model was vestigial from supporting
ChooserTargetService. If we need to process n shortcuts, it's
inefficient to context-switch and handle n+1 messages (including
the completion message) if we can instead pack all n results into a
single message. The new approach is also much simpler, since we
now know we have all the data on hand before proceeding - previously
we forced an "unbatched" processing model on the downstream clients,
and then had to design around the problems that *that* created
(in particular, I haven't confirmed yet, but I *suspect* that we
could get rid of the 250ms LIST_VIEW_UPDATE_MESSAGE delay after this
change, since now we can just send that message a single time at
the end of the batch without worrying about throttling). Further
cleanup like that will come in a later CL -- for now this is the
minimum change required to adopt a batch-processing model.

I claim that this change is safe because there was no benefit to
the one-at-a-time streaming model -- it didn't cause results to
appear to the user any faster. We already had the full set of
results on hand when we started emitting these messages from
ChooserActivity::sendShareShortcutInfoList; the per-result
processing we do in that loop isn't very expensive (and it runs in
the same thread as the ChooserHandler anyways); and even if we were
somehow picking up a marginal benefit, it would've been masked by
the 250ms timeout.

(There *maybe* could be some concern if ChooserListAdapter's
addServiceResults is too expensive for us to block and call for each
result in the batch, but 1. that seems unlikely; 2. if there *is*
anything expensive about addServiceResults we can probably optimize
it by switching to a batch-processing model in the Adapter as well;
and 3. if the Adapter needs to subdivide these tasks to remain
performant, it should take that responsibility on for itself.)

This optimization was made possible by the removal of
ChooserTargetService support (since in the old model, we actually
*didn't* have all the results on hand at the start).

Test: manual & atest
Change-Id: Iaaab546cc274bf1879941901260b7ade62cbcaa5
2021-10-19 14:10:37 +00:00
Dave Mankoff
72c98aa099 [automerger skipped] Merge "Convert existing flags to new system." into sc-v2-dev am: 104ef43ddd am: a2f5d76adc -s ours
am skip reason: Merged-In Id03fe61b6697bf98fdd225ba252de58e07c42496 with SHA-1 0026b204a9 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16049899

Change-Id: I2b761583f1c0059e3d0f99b15ad4ed27e46856cb
2021-10-19 13:53:05 +00:00
Dave Mankoff
a2f5d76adc Merge "Convert existing flags to new system." into sc-v2-dev am: 104ef43ddd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16049899

Change-Id: Ieab1b48353597c16508d19e74adee3b62c1a62e3
2021-10-19 13:35:45 +00:00
Dave Mankoff
104ef43ddd Merge "Convert existing flags to new system." into sc-v2-dev 2021-10-19 13:19:02 +00:00
Wei Sheng Shih
818d6660ff Merge "WindowState isSyncFinished should also check isVisibleRequested" into sc-v2-dev am: 1d0c96e853 am: adfa19fde5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15993028

Change-Id: I82843d3b8b13e4278b5b025b02fdc445672b82e9
2021-10-19 13:12:08 +00:00
Wei Sheng Shih
adfa19fde5 Merge "WindowState isSyncFinished should also check isVisibleRequested" into sc-v2-dev am: 1d0c96e853
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15993028

Change-Id: I847d2e4d3ad796fd51370dd424a6114de2fa43bc
2021-10-19 12:57:52 +00:00
Pablo Gamito
a5e331306c Merge "Add API to allow SysUI/launcher to customize legacy task transition animations" 2021-10-19 12:41:35 +00:00
Vadim Caen
283a14d691 Merge "Cleanup unused code in AppTransition" 2021-10-19 12:40:00 +00:00
Wei Sheng Shih
1d0c96e853 Merge "WindowState isSyncFinished should also check isVisibleRequested" into sc-v2-dev 2021-10-19 12:37:41 +00:00
Minche Li
239b6b7f35 Merge "Requests window magnifoication connection if any AccessibilityServiceConnection is able to control magnification" 2021-10-19 11:08:08 +00:00
Tom Natan
746f95c811 Merge "Fix issue where NOT_VISIBLE state is sometimes not logged" into sc-v2-dev am: 2956f1d302 am: e4545c9f80
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16075535

Change-Id: Icc2b36aaa4d7cbc90a087475449de57e79057b9f
2021-10-19 10:41:23 +00:00
Issei Suzuki
0e816076d9 [automerger skipped] Merge "Keep FLAG_SHOW_WALLPAPER flag on NotificationShade." into sc-v2-dev am: e7831937e7 am: 02c4c404bc -s ours
am skip reason: Merged-In I7876c92331125b00931218d9e5aca164a1ea50d9 with SHA-1 0b55f18928 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16075530

Change-Id: I568f5a31b2d908b8403641633cb4665ea1aecdd5
2021-10-19 10:41:03 +00:00
Tom Natan
e4545c9f80 Merge "Fix issue where NOT_VISIBLE state is sometimes not logged" into sc-v2-dev am: 2956f1d302
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16075535

Change-Id: I7dca8695b4fca42968addf400dda16024d0275b6
2021-10-19 10:37:44 +00:00
Issei Suzuki
02c4c404bc Merge "Keep FLAG_SHOW_WALLPAPER flag on NotificationShade." into sc-v2-dev am: e7831937e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16075530

Change-Id: I8a25f5fd2d2c3e9c0c47f0e6b6eac6c789dbed15
2021-10-19 10:37:24 +00:00
Jordan Demeulenaere
e73d9fb0bf Merge "Ensure that ghosted view is attached when calculating its matrix." into sc-v2-dev am: ad71aa409d am: fce72425a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16048150

Change-Id: I06fbb1e051cb7330c09df7c5de1646d2a5f89a75
2021-10-19 10:36:36 +00:00
Tom Natan
2956f1d302 Merge "Fix issue where NOT_VISIBLE state is sometimes not logged" into sc-v2-dev 2021-10-19 10:17:26 +00:00
Nataniel Borges
e639772f75 Merge "Fix parsing of WM trace in critical mode" 2021-10-19 10:01:46 +00:00
TreeHugger Robot
798887a42f Merge "AudioMixingRule: more javadoc on mix role" 2021-10-19 09:55:42 +00:00
Issei Suzuki
e7831937e7 Merge "Keep FLAG_SHOW_WALLPAPER flag on NotificationShade." into sc-v2-dev 2021-10-19 09:53:57 +00:00
Jordan Demeulenaere
fce72425a0 Merge "Ensure that ghosted view is attached when calculating its matrix." into sc-v2-dev am: ad71aa409d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16048150

Change-Id: I99d25820c9d95c59dff5b4a8c7c0b02b2486f42d
2021-10-19 09:44:28 +00:00
TreeHugger Robot
3145f6bb10 Merge "Revert "Merge BroadcastOptions and ActivityOptions PendingIntent..."" 2021-10-19 09:40:52 +00:00