Cole Faust
9b3a5fc03b
Merge "Fix array-related errorprone warnings" am: a1eb8cf128 am: 44f8576073 am: 91d6c5b564 am: 6a79ae2567
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2186016
Change-Id: I7052a1f7391ed6701fe0e1036c27368609032e35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-30 20:44:00 +00:00
Cole Faust
6a79ae2567
Merge "Fix array-related errorprone warnings" am: a1eb8cf128 am: 44f8576073 am: 91d6c5b564
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2186016
Change-Id: I931e692e6d170d19a7492e44cc1333c10e96c897
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-30 20:00:09 +00:00
Cole Faust
91d6c5b564
Merge "Fix array-related errorprone warnings" am: a1eb8cf128 am: 44f8576073
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2186016
Change-Id: Icfb700330d9a9cd0a592b76c9e4cf4a8bcd19c30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-30 19:01:56 +00:00
Cole Faust
a1eb8cf128
Merge "Fix array-related errorprone warnings"
2022-08-30 18:03:01 +00:00
Lili Zou
a98765cb86
Merge "Fix shell command bugs for supporting CTS test. Add service unit test. Fix javadoc." into tm-qpr-dev am: b2f2546b5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19751510
Change-Id: I0ffc853aa8b2700c8a7f1f65f53c23d38f665a2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-30 15:23:28 +00:00
Kathy Chen
7a168cc8c1
Fix shell command bugs for supporting CTS test. Add service unit test. Fix javadoc.
...
Test: unit test and cts test
Ignore-AOSP-First: confidential feature
BUG: 242480433
Change-Id: I0fd2950eea267d56fbd8e89ecc52fdd590992e75
Merged-In: I0fd2950eea267d56fbd8e89ecc52fdd590992e75
(cherry picked from commit 44eafb8f58 )
2022-08-30 02:37:59 +00:00
Treehugger Robot
e9712ca91b
Merge "Exclude large tests from presubmit." am: 3d8681e31d am: 9dc9fd8930 am: 5860c207c9 am: da40df7c95
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2176682
Change-Id: I56d7b99eab9acc055a6935166f962d10e6df357c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-29 22:35:54 +00:00
Treehugger Robot
da40df7c95
Merge "Exclude large tests from presubmit." am: 3d8681e31d am: 9dc9fd8930 am: 5860c207c9
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2176682
Change-Id: I7f48882ac9978964da17b93579e385557866a1ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-29 22:09:58 +00:00
Treehugger Robot
5860c207c9
Merge "Exclude large tests from presubmit." am: 3d8681e31d am: 9dc9fd8930
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2176682
Change-Id: Ia285f9d7b8e2ac0a4b7116af9b759bed56074aa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-29 21:43:14 +00:00
Treehugger Robot
3d8681e31d
Merge "Exclude large tests from presubmit."
2022-08-29 20:52:36 +00:00
Nate Myren
e0f3d12d32
Revert "DO NOT MERGE Add GET_USAGE_STATS to RUNTIME_AND_APPOP_PERMISSIONS_OPS" am: 768e9f12d6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19735199
Change-Id: Ice331481669003abfa7df7ef713170da35f40f3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-26 17:16:42 +00:00
Nate Myren
04f6c9fa6a
Merge "Revert "DO NOT MERGE Add GET_USAGE_STATS to RUNTIME_AND_APPOP_PERMISSIONS_OPS"" into tm-qpr-dev
2022-08-26 17:01:32 +00:00
Cole Faust
584140c83a
Fix array-related errorprone warnings
...
The ArrayEquals, ArrayHashCode, ArrayToString, and
ArraysAsListPrimitiveArray errorprone findings were
demoted from errors to warnings. Fix existing
occurrences of them so they can be made errors again.
Bug: 242630963
Test: RUN_ERROR_PRONE=true m javac-check
Change-Id: Ia6f216cc36ad0a5758f39fd9b34962cd4adf9d8e
2022-08-25 10:57:12 -07:00
wilsonshih
848db58379
[RESTRICT AUTOMERGE]BackGestureAnimation: a lightweight recents am: c9c9a757a8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19394174
Change-Id: I855a2c63713e9543f18b6e84e071b21589dd3729
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-25 15:07:21 +00:00
Wei Sheng Shih
4ec0b52029
Merge "[RESTRICT AUTOMERGE]BackGestureAnimation: a lightweight recents animation controller" into tm-qpr-dev
2022-08-25 14:04:21 +00:00
Thiébaud Weksteen
5d28354057
Merge "Remove lowpan internal API" am: 649a208492 am: 4ad24dd314 am: e9a59c6013 am: 52101fa97d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2192895
Change-Id: I83a483bf766325978ac70b52414f153ee7a5246f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-25 04:06:20 +00:00
Thiébaud Weksteen
52101fa97d
Merge "Remove lowpan internal API" am: 649a208492 am: 4ad24dd314 am: e9a59c6013
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2192895
Change-Id: I2f67c1b86855bc1accc236cbeee8e84b2bfe3d2f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-25 03:40:29 +00:00
Thiébaud Weksteen
e9a59c6013
Merge "Remove lowpan internal API" am: 649a208492 am: 4ad24dd314
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2192895
Change-Id: I8d4192ac1cf5bd97a295d62f8d46dae795c3e096
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-25 02:19:57 +00:00
Nate Myren
768e9f12d6
Revert "DO NOT MERGE Add GET_USAGE_STATS to RUNTIME_AND_APPOP_PERMISSIONS_OPS"
...
This reverts commit 76718dd9f4 .
Reason for revert: b/243646481
Change-Id: I6b200a3269e2a4fd1943c20e3074f19afe46f6dd
2022-08-24 20:49:02 +00:00
Michael Wright
86af40a0e4
Merge "Revert^3 "Fix binder error when an app has many channels"" into tm-qpr-dev am: 0b75242b7b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19713796
Change-Id: I09d1af14599bb9ddbd22fedea88322a054fe5712
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-24 16:05:15 +00:00
Michael Wright
0b75242b7b
Merge "Revert^3 "Fix binder error when an app has many channels"" into tm-qpr-dev
2022-08-24 15:24:09 +00:00
Michael Wright
6e662a45b5
Revert^3 "Fix binder error when an app has many channels"
...
f6d322577a
Change-Id: Ib42bf11c154e287119a5af0a4f92510cfb3a6cc7
2022-08-24 12:22:12 +00:00
wilsonshih
c9c9a757a8
[RESTRICT AUTOMERGE]BackGestureAnimation: a lightweight recents
...
animation controller
Copy most of code from RecentsAnimationController to back gesture
animation controller(BackNaviAnimationController), the infrastructure
can be reused for either back-to-home/back-to-task/back-to-activity
animations if needed. Since the infrasturcture of legacy recents
animation controller should be stable already, we don't need to
worry about issues like leak leashes/flickers/fixed rotation.
BackAnimationAdaptor is a temporary class to help migrate to shell
transition, the target is to replace it by RemoteTransition.
Next step: Migrate to shell transition, decouple animation info from
BackNavigationInfo.
Test: manually play back to home animation to verify no flicker/black
background/leak surface. Also test that there can play back to home
animation even when quick swipe.
Test: atest BackNavigationTest
Test: atest BackNavigationControllerTests BackAnimationControllerTest
Bug: 237642535
Change-Id: I436a3dcf5011c56c08d131b40168f19128cc8723
2022-08-24 02:35:46 +00:00
Hongwei Wang
5c01efb41d
Merge "Ensure isInPictureInPicture result in onPause" into tm-qpr-dev am: 121302c41d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19489109
Change-Id: I9dd06305bce7c87a4a0a09d705555d16a8dca228
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-23 23:05:04 +00:00
Hongwei Wang
121302c41d
Merge "Ensure isInPictureInPicture result in onPause" into tm-qpr-dev
2022-08-23 22:43:31 +00:00
Nate Myren
7434799347
DO NOT MERGE Add GET_USAGE_STATS to RUNTIME_AND_APPOP_PERMISSIONS_OPS am: 76718dd9f4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19682955
Change-Id: Ia256938a7fb30b903c7a51fdcadd3c77b8ddb3b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-23 20:54:50 +00:00
Nate Myren
43c3022f19
Merge "DO NOT MERGE Add GET_USAGE_STATS to RUNTIME_AND_APPOP_PERMISSIONS_OPS" into tm-qpr-dev
2022-08-23 19:45:46 +00:00
Julia Reynolds
9b0cedbce1
Merge "Limit the size of NotificationChannel and NotificationChannelGroup" into tm-dev am: 92c1b9e850 am: 8d506d3591
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19697540
Change-Id: If618638655c0605aa81590e883dc81ab980ce1ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-23 19:13:32 +00:00
Julia Reynolds
8d506d3591
Merge "Limit the size of NotificationChannel and NotificationChannelGroup" into tm-dev am: 92c1b9e850
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19697540
Change-Id: I158e0d850eaeb3f1e8d87aa15fc5561516677018
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-23 18:54:53 +00:00
Julia Reynolds
de5204f2ee
Merge "Limit the size of NotificationChannel and NotificationChannelGroup" into tm-dev am: 92c1b9e850
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19697540
Change-Id: I754527f3bb4137a1539c43c65660891f93b66ef3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-23 18:54:44 +00:00
Thiébaud Weksteen
231574ce34
Remove lowpan internal API
...
This API is not used: marked as @hide with a commented out @SystemApi;
the AIDL server is not implemented in AOSP nor internally. There is one
extra client from the SEPolicy: wpantund; but there is no build rule for
this binary, and no reference for it in AOSP. This API appears be an
artifact from the initial import of Android Things back in 2017.
I confirmed with the previous owners that there is no intention to use
this API in the future (see bug).
This changes reduces the size of framework.jar by 77kb on
bramble-userdebug.
Bug: 235018188
Test: TH
Change-Id: Id66f5ed23ed26c7185f36454f168e34997be3f8f
Merged-In: Id66f5ed23ed26c7185f36454f168e34997be3f8f
(cherry picked from commit 7640656825 )
2022-08-23 12:49:59 +10:00
Julia Reynolds
20ead01c35
Limit the size of NotificationChannel and NotificationChannelGroup
...
Test: android.app.NotificationChannelGroupTest
Test: android.app.NotificationChannelTest
Test: cts NotificationChannelTest
Test: cts NotificationChannelGroupTest
Bug: 241764350
Bug: 241764340
Bug: 241764135
Bug: 242702935
Bug: 242703118
Bug: 242703202
Bug: 242702851
Bug: 242703217
Bug: 242703556
Change-Id: I0925583ab54d6c81c415859618f6b907ab7baada
(cherry picked from commit 3850857cb0 )
2022-08-22 17:22:59 +00:00
Julia Reynolds
43d58096bf
Merge "Limit the size of NotificationChannel and NotificationChannelGroup" into tm-qpr-dev am: 829e25dfd3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19678343
Change-Id: Ia5db4abaa6ca9c582c9cbc234e7705418e155f7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-22 17:22:24 +00:00
Julia Reynolds
829e25dfd3
Merge "Limit the size of NotificationChannel and NotificationChannelGroup" into tm-qpr-dev
2022-08-22 17:18:05 +00:00
Nate Myren
76718dd9f4
DO NOT MERGE Add GET_USAGE_STATS to RUNTIME_AND_APPOP_PERMISSIONS_OPS
...
Fixes: 243182796
Test: atest AppOpDefinitionTest
Change-Id: Ib8b1bdff066b2b69a42854ae7cfa652ad8f8b1f4
2022-08-22 16:11:38 +00:00
Julia Reynolds
03cee85749
Merge "Revert^2 "Fix binder error when an app has many channels"" into tm-qpr-dev am: c8d7e101ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19583472
Change-Id: I9237fc4c49df8fcf01891b8fac0d7aa3293e387b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-22 14:18:35 +00:00
Hongwei Wang
ac611a1249
Ensure isInPictureInPicture result in onPause
...
We use to set Activity#mIsInPictureInPictureMode to be true when app
requests Activity#enterPictureInPictureMode and therefore when they
receive the onPause callback, Activity#isInPictureInPictureMode can be
true. With the new auto-enter-pip API, this code path is no more
relevant and here we add extra info to PauseActivityItem to set the same
flag when WM puts the Activity into PiP mode due to auto-enter.
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/yXi24xi6TgYGhoqB31Oov
Bug: 239618513
Test: follow the reproduce steps in bug, see video
Test: atest PinnedStackTests
Change-Id: I81ece7d3aad8eb868d95f106f6825612e0741a19
2022-08-19 09:41:02 -07:00
Julia Reynolds
3850857cb0
Limit the size of NotificationChannel and NotificationChannelGroup
...
Test: android.app.NotificationChannelGroupTest
Test: android.app.NotificationChannelTest
Test: cts NotificationChannelTest
Test: cts NotificationChannelGroupTest
Bug: 241764350
Bug: 241764340
Bug: 241764135
Bug: 242702935
Bug: 242703118
Bug: 242703202
Bug: 242702851
Bug: 242703217
Bug: 242703556
Change-Id: I0925583ab54d6c81c415859618f6b907ab7baada
2022-08-19 14:41:44 +00:00
Julia Reynolds
f6d322577a
Revert^2 "Fix binder error when an app has many channels"
...
34b3e4b51c
Test: NotificationChannelGroupTest
Test: NotificationManagerServiceTest
Test: PreferencesHelperTest (new test for revert:
testGetNotificationChannelGroup)
Test: long press on a conversation notification in the shade
Bug: 215072888
Change-Id: Ib9c671b0fd1f97e01ef02957839ebad2cadb5e44
2022-08-16 13:25:56 -04:00
Lee Shombert
1062bc02e8
Merge "Work-around for system property failures" into tm-qpr-dev am: 1b9cdb02a5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19583569
Change-Id: I85f30bed516912222e2b2df01c1c9bebae1fca58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 22:58:00 +00:00
Lee Shombert
be4b6a53c1
Work-around for system property failures
...
Bug: 236932163
This change adds a work-around to PropertyInvalidatedCache for
failures to set a system property. Such failures cause fatal crashes
in Android but it is believed that a simple retry will succeed.
(Note: the failures have only been reported on partner devices and
cannot be reproduced on Pixel phones, so no root-cause is available
yet.)
RuntimeExceptions (thrown from android_os_SystemProperties.cpp) are
caught and retried. The retry limit is 5 times with a 200ms delay
between attempts. This means that the maximum delay is 1s, whcih
should avoid triggering an ANR.
In addition to automated testing, a manual test was created with
ambush code in the system property component of libc. The ambush code
injected an error into the set-property logic for cache keys. It was
observed that the system recovered properly.
Test: atest:
* FrameworksCoreTests:PropertyInvalidatedCacheTests
* FrameworksCoreTests:IpcDataCacheTest
Change-Id: I3a124b185c7499a45b27df7cbf889ae6d1d33377
(cherry picked from commit 9b0f81025c )
2022-08-10 16:35:54 +00:00
Joanne Chung
c4d1b9e6d6
Revert "[DO NOT MERGE] Remove selection toolbar code from build time" am: 888e79f7a0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19204106
Change-Id: I2eed4842d349cb38bd488793cd4bfdf672d4c3cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 09:19:11 +00:00
Joanne Chung
9cc6ab62b2
Merge "Revert "[DO NOT MERGE] Remove selection toolbar code from build time"" into tm-qpr-dev
2022-08-10 08:38:51 +00:00
TreeHugger Robot
ba155b7847
Merge "Revert "Clear mEnterTransitionCoordinator after content shows."" into tm-qpr-dev am: 283b8e8680
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19435238
Change-Id: Ia4ff096f62ce492762326a8ae5bfdbc24900f9be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 17:56:39 +00:00
TreeHugger Robot
283b8e8680
Merge "Revert "Clear mEnterTransitionCoordinator after content shows."" into tm-qpr-dev
2022-08-08 17:51:50 +00:00
Joanne Chung
888e79f7a0
Revert "[DO NOT MERGE] Remove selection toolbar code from build time"
...
This reverts commit ade911b9c7 .
Reason for revert: The feature is planned to run a study in QPR1
with the aim of launching in QPR-2. The code will be removed from
build time before QPR1 finalized.
Change-Id: Ida04260a1196121bb4084b527216aae1e4e6ec54
2022-08-08 11:02:44 +00:00
TreeHugger Robot
e715974ded
Merge "Configure the number of tasks to scan to determine Home visibility." into tm-qpr-dev am: 59565c560a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19094859
Change-Id: I11fc4da1b1b89265d6ac386cca8f3603451b86bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-06 03:00:43 +00:00
TreeHugger Robot
59565c560a
Merge "Configure the number of tasks to scan to determine Home visibility." into tm-qpr-dev
2022-08-06 02:48:35 +00:00
Lucas Henneman
adbe824324
Exclude large tests from presubmit.
...
Bug: 222555677
Test: N/A
Merged-In: Ib19a2096a97367b37b3a22033ec2001693f23bff
Change-Id: I9ea72fd69a4771231b2342c50423cb1461d9ea09
2022-08-05 18:19:24 +00:00
Yuncheol Heo
e037089afd
Merge "Allow getTasks to filter tasks by displayId." into tm-qpr-dev am: 0dfdd607b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19487745
Change-Id: I5f7162aaac0074b4d918d4074d48a2cef7133147
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-04 21:10:59 +00:00