Misha Wagner
d5d42f7c97
Allow CacheOomRanker to rerank when there's <8 processes in the cache. am: 850b432ade am: fdd2461484
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15684472
Change-Id: Ie43fd450457f49ef5280364145148507dbe3a9ac
2021-09-21 09:26:29 +00:00
Misha Wagner
ddfb888a4e
Fix CacheOomRankerTest. am: 500e43dcf5 am: 6dc8bf1e2c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15684478
Change-Id: Ib14975a98a9dd1bc10df0ab19bb60672a8f13312
2021-09-21 09:26:13 +00:00
Misha Wagner
fdd2461484
Allow CacheOomRanker to rerank when there's <8 processes in the cache. am: 850b432ade
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15684472
Change-Id: I036ba49a10c86d1f08b1fb7a222ee07ed5324ad6
2021-09-21 09:12:51 +00:00
Misha Wagner
6dc8bf1e2c
Fix CacheOomRankerTest. am: 500e43dcf5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15684478
Change-Id: Ica359791070878ae75acf3ed741530ea7957ee3d
2021-09-21 09:12:34 +00:00
Shan Huang
59bf044570
[automerger skipped] Merge "Fix race condition wen setting boot color sysprops (round 2)" into sc-qpr1-dev am: fe6f6a0110 am: d7b0f79d9a -s ours
...
am skip reason: Merged-In I7d304d442e3f6839ad047944cae21dc07d7c3dea with SHA-1 684b66adb2 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15848684
Change-Id: I7b435de35b2478df0b4e8dfa9306393844e8da61
2021-09-21 07:16:12 +00:00
Shan Huang
d7b0f79d9a
Merge "Fix race condition wen setting boot color sysprops (round 2)" into sc-qpr1-dev am: fe6f6a0110
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15848684
Change-Id: I55b7e0c3f5b93d21bec30052f98a482d502c10ee
2021-09-21 07:03:38 +00:00
Shan Huang
fe6f6a0110
Merge "Fix race condition wen setting boot color sysprops (round 2)" into sc-qpr1-dev
2021-09-21 06:49:34 +00:00
Kenneth Ford
f8287fcd18
Merge "Marks two DeviceStateManagerService tests as flaky" into sc-v2-dev am: 57f7ff4c0b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15870840
Change-Id: I0c226f72d3a7819e3162994fde22f04a2ed4f9a8
2021-09-21 05:28:39 +00:00
Chris Li
055d1d5a4e
Merge changes Ib5ad3250,Iff58afdb into sc-v2-dev am: 83d5a591f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15838390
Change-Id: Ib58e4c6785e050bd6444eb0fe835b096d5506729
2021-09-21 05:28:10 +00:00
Kenneth Ford
57f7ff4c0b
Merge "Marks two DeviceStateManagerService tests as flaky" into sc-v2-dev
2021-09-21 05:19:33 +00:00
Chris Li
83d5a591f2
Merge changes Ib5ad3250,Iff58afdb into sc-v2-dev
...
* changes:
Flag whether a RemoteAnimationTarget has parent in animation
Use TaskFragment bounds instead of TaskBounds for Activity animation
2021-09-21 05:18:46 +00:00
Chris Li
bda335fb22
Merge "Handle remote animation for split API" into sc-v2-dev am: bd6816c6f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15632615
Change-Id: I9ed6de09f4ff46e02ffa6bffeec3724652dec168
2021-09-21 04:32:12 +00:00
Chris Li
bd6816c6f5
Merge "Handle remote animation for split API" into sc-v2-dev
2021-09-21 04:20:29 +00:00
TreeHugger Robot
b5933baeb7
Merge "Clear mSeamlessRotating in InsetsSourceProvider.setWindow" into sc-v2-dev am: c31f380a7d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15853778
Change-Id: I94ef8beca9a76097cf5edbdb537c6efba3ae622b
2021-09-21 03:31:58 +00:00
TreeHugger Robot
c31f380a7d
Merge "Clear mSeamlessRotating in InsetsSourceProvider.setWindow" into sc-v2-dev
2021-09-21 03:18:46 +00:00
TreeHugger Robot
a695407744
Merge "SurfaceControl: Add setDropInputMode api" into sc-v2-dev-plus-aosp
2021-09-21 01:45:19 +00:00
Shan Huang
1d9da2f313
Merge "Fix race condition wen setting boot color sysprops (round 2)" into sc-v2-dev am: e23dd065ec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15871946
Change-Id: I382e773e24482927e0c9c6c1cc5d06349e5cb532
2021-09-21 01:00:03 +00:00
Shan Huang
d860fdc15a
Fix race condition wen setting boot color sysprops (round 2)
...
Bug: 197690550
Test: ThemeOverlayApplierTest, ThemeOverlayControllerTest. Set wallpaper
and reboot.
Change-Id: I7d304d442e3f6839ad047944cae21dc07d7c3dea
Merged-In: I7d304d442e3f6839ad047944cae21dc07d7c3dea
2021-09-21 00:49:58 +00:00
Shan Huang
e23dd065ec
Merge "Fix race condition wen setting boot color sysprops (round 2)" into sc-v2-dev
2021-09-21 00:49:34 +00:00
Evan Rosky
2a06d949a5
Merge "Use binder for remote unregister comparison" into sc-v2-dev am: b8e297fb73
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15849240
Change-Id: Ica8bd432b1c947e813bd2ebc4e181857304d987b
2021-09-21 00:41:24 +00:00
Chris Li
79ab7ea034
Flag whether a RemoteAnimationTarget has parent in animation
...
There is case when a TaskFragment is resizing while one of its children
is open/close. In such case, both the TaskFragment and its child will be
included in the transition, but we don't want to animate both of them.
Use the new flag to determine if the child need to be animated.
Bug: 196173550
Test: test with demo app
Change-Id: Ib5ad32501e046e5b612f6d5ae2faed6266d99f3d
2021-09-21 08:33:16 +08:00
Chris Li
e045dd6e81
Use TaskFragment bounds instead of TaskBounds for Activity animation
...
The animation bounds is used as the RemoteAnimationTarget#localBounds.
It should be the TaskFragment bounds instead of Task bounds because the
Activity may not fill the Task when it is in a TaskFragment.
Also clean up ROOT_TASK_CLIP_BEFORE_ANIM which has no more use case.
Bug: 196173550
Test: test with demo app
Test: atest WmTests:ActivityRecordTests
Change-Id: Iff58afdb0bbae95d3f6a5756de06c0d2dfff7c88
2021-09-21 08:31:07 +08:00
Chris Li
211d6cf754
Handle remote animation for split API
...
Use the default app open/close animation.
TODO:
1. Handle two TaskFragment open/close as one
2. Handle change transition based on the new motion design
Bug: 196173550
Test: test with demo app
Change-Id: I7b446840270edfc3c9e3fe188585b2cd839fa9f1
2021-09-21 08:26:49 +08:00
Evan Rosky
b8e297fb73
Merge "Use binder for remote unregister comparison" into sc-v2-dev
2021-09-21 00:26:29 +00:00
Vishnu Nair
cbc4b97e31
SurfaceControl: Add setDropInputMode api
...
Introduces an API to drop input events on this SurfaceControl. This
policy will be inherited by its children. The caller must hold the
ACCESS_SURFACE_FLINGER permission.
Options include:
ALL: SurfaceControl and its children will not receive any
input regardless of whether it has a valid input channel.
OBSCURED: SurfaceControl and its children will not
receive any input if the layer is obscured, cropped by its parent or
translucent.
These policies are used to enable features that allow for a less trusted
interaction model between apps. See the bug for more details.
Test: atest libgui_test InputDispatcherDropInputFeatureTest
Bug:197364677
Merged-In: Ifcb4133306a43874e74e8fb0f42b60842daf6f25
Change-Id: Ifcb4133306a43874e74e8fb0f42b60842daf6f25
2021-09-20 23:22:31 +00:00
Kenneth Ford
a870da3b1e
Marks two DeviceStateManagerService tests as flaky
...
Marks DeviceStateManagerServiceTest#requestState_becomesUnsupported and
DeviceStateManagerServiceTest#requestState_pendingStateAtRequest as
flaky
Bug: 200332057
Test: N/A
Change-Id: I2dc9377c06029a0384c84eaeb0a50060a2e89c54
2021-09-20 23:21:44 +00:00
Shan Huang
684b66adb2
Fix race condition wen setting boot color sysprops (round 2)
...
Bug: 197690550
Test: ThemeOverlayApplierTest, ThemeOverlayControllerTest. Set wallpaper
and reboot.
Change-Id: I7d304d442e3f6839ad047944cae21dc07d7c3dea
Merged-In: I7d304d442e3f6839ad047944cae21dc07d7c3dea
2021-09-20 23:14:40 +00:00
TreeHugger Robot
e3b6f72053
Merge "SurfaceView: Fix SurfaceControl synchronization issues" into sc-v2-dev am: bc617435cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15819958
Change-Id: Ic87a3bcbbc888584c6ead7de2a8ee48b36854bb0
2021-09-20 23:08:03 +00:00
Vinit Nayak
5bd2f57f7d
Merge "Update edgeBackGestureHandler for Taskbar on init/destroy()" into sc-v2-dev am: bf0ee05d8a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15872267
Change-Id: I820fea0468a564ebc0147c39acfe900a7fe970af
2021-09-20 23:07:11 +00:00
Rajeev Kumar
d05151f993
Merge "Fix NPE in app hibernation dump command." into sc-qpr1-dev am: 9197f62ab3 am: f11ff04592
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15857695
Change-Id: Ia8fdd98e13124c46b6ddf5078018057531add65c
2021-09-20 23:01:08 +00:00
TreeHugger Robot
bc617435cf
Merge "SurfaceView: Fix SurfaceControl synchronization issues" into sc-v2-dev
2021-09-20 22:59:15 +00:00
Vinit Nayak
bf0ee05d8a
Merge "Update edgeBackGestureHandler for Taskbar on init/destroy()" into sc-v2-dev
2021-09-20 22:52:19 +00:00
Rajeev Kumar
f11ff04592
Merge "Fix NPE in app hibernation dump command." into sc-qpr1-dev am: 9197f62ab3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15857695
Change-Id: Idd2d6e239576aa3d28d5674816b8b3304a3c8465
2021-09-20 22:47:34 +00:00
Rajeev Kumar
9197f62ab3
Merge "Fix NPE in app hibernation dump command." into sc-qpr1-dev
2021-09-20 22:31:03 +00:00
Hui Yu
bb932ee046
Merge "tempAllowList duration can be updated if an UID is already temp allowlisted." into sc-qpr1-dev am: add3a2e361 am: c10b7d62e2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15851148
Change-Id: I07e09839e0d46103f7fbc2863888820b4afd4acd
2021-09-20 22:18:19 +00:00
Hui Yu
c10b7d62e2
Merge "tempAllowList duration can be updated if an UID is already temp allowlisted." into sc-qpr1-dev am: add3a2e361
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15851148
Change-Id: I9ae1ebb4f3918edb520b3bf9d48f7b5ad9f799ab
2021-09-20 22:06:52 +00:00
TreeHugger Robot
ea957827ed
Merge "Fix RuntimeException in GestureDetector for Letterbox." into sc-v2-dev am: 8ad71b1731
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15868755
Change-Id: Ie56f97465779a95b60008d0e6a1a6356a07f265a
2021-09-20 22:02:15 +00:00
Hui Yu
add3a2e361
Merge "tempAllowList duration can be updated if an UID is already temp allowlisted." into sc-qpr1-dev
2021-09-20 21:54:30 +00:00
TreeHugger Robot
8ad71b1731
Merge "Fix RuntimeException in GestureDetector for Letterbox." into sc-v2-dev
2021-09-20 21:47:25 +00:00
Colin Cross
5b8c2a6f04
Merge "Convert DownloadManagerTestApp to Android.bp" am: 46d22e3c87 am: abb70e433a am: a162e9bc39 am: 259a1806df
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1829055
Change-Id: Id791178ed213d020f6e192c338902710456c33bd
2021-09-20 21:23:10 +00:00
Colin Cross
1ac204e8e9
Merge "Convert MultiDexLegacy* tests to Android.bp and d8 --main-dex-rules" am: 58210e2960 am: 35f4acb9bd am: 1decb029b4 am: 8a37a5ceaa
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1829054
Change-Id: Iea15a9e1369129695a02cd7cde65994c34208f58
2021-09-20 21:22:39 +00:00
Hui Yu
0ebc9cd55b
tempAllowList duration can be updated if an UID is already temp
...
allowlisted.
Previously when PowerExemptionManager.addToTemporaryAllowList() is
called for a second time before the first time call's duration expires, the
second call does not update ActivityManagerService's
FgsTempAllowList for the new duration. This CL fixes this problem.
Bug: 199801023
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Change-Id: Ibb8c6f41740a9b7468b50a4cdabe526ae58550ec
2021-09-20 21:14:23 +00:00
Colin Cross
259a1806df
Merge "Convert DownloadManagerTestApp to Android.bp" am: 46d22e3c87 am: abb70e433a am: a162e9bc39
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1829055
Change-Id: I26f9b49136dde4e0514d04c8115d4bd5fd6ee22a
2021-09-20 21:11:44 +00:00
Colin Cross
8a37a5ceaa
Merge "Convert MultiDexLegacy* tests to Android.bp and d8 --main-dex-rules" am: 58210e2960 am: 35f4acb9bd am: 1decb029b4
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1829054
Change-Id: I3b7149b233d923008674bd06ddf5a3fa8673331f
2021-09-20 21:11:28 +00:00
Ben Lin
aa8e6cce96
Merge "Load animation for freeform windows." into sc-v2-dev am: d21de41100
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15821780
Change-Id: I51717b1ec6a657db1e99d698510619b87aa14f52
2021-09-20 21:11:16 +00:00
TreeHugger Robot
d50fbe5665
Merge "Check custom component names before aggregating BatteryUsageStats snapshots" into sc-qpr1-dev am: 0ef5152b17 am: 4ff921f559
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15872124
Change-Id: If46ae1934feff590ce5202a25765f5eac9bfea41
2021-09-20 20:56:15 +00:00
Ben Lin
d21de41100
Merge "Load animation for freeform windows." into sc-v2-dev
2021-09-20 20:56:14 +00:00
TreeHugger Robot
3ea8ae8ed5
[automerger skipped] Merge "Fix spacing between clock and date" into sc-qpr1-dev am: 40ab23303d am: a1c8f5c293 -s ours
...
am skip reason: Merged-In I7ec7912ca1db34b8f16f3d8676dc810b1e65177c with SHA-1 53033a868d is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15838369
Change-Id: I3886b8c9288c3892972f3fd7cae38340128e24f8
2021-09-20 20:56:03 +00:00
Colin Cross
a162e9bc39
Merge "Convert DownloadManagerTestApp to Android.bp" am: 46d22e3c87 am: abb70e433a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1829055
Change-Id: Ia6845384b5aa4855313b5697b1c7b1f4a68c443b
2021-09-20 20:55:44 +00:00
TreeHugger Robot
317b824ade
Merge "Fix unstyled Notification RemoteViews inflation logic for apps targeting API 23 and lower." into sc-qpr1-dev am: 86536be56b am: 28d37ec3ee
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15861704
Change-Id: I00f2f20c57970ffc4319a3abf2e76056ff88bf19
2021-09-20 20:55:42 +00:00