Commit Graph

761752 Commits

Author SHA1 Message Date
TreeHugger Robot
95ac43c8bd Merge "Set adminExtras as an empty persistable bundle if left null in builder." into tm-dev 2022-06-17 10:49:38 +00:00
Alex Johnston
916e42bd21 Merge "Make WorkLockActivity theme translucent" into tm-dev 2022-06-17 08:18:09 +00:00
Nate Myren
7f3f9c454c Merge "Add Ad Services pregrant to DPGP" into tm-dev 2022-06-17 06:14:10 +00:00
Riddle Hsu
e79e811a50 Merge "Do not set insets changed for invisible window" into tm-dev 2022-06-17 05:49:09 +00:00
Hui Yu
25019b3782 Merge "Fix the missing history event problem." into tm-dev 2022-06-16 18:03:26 +00:00
Richard (Torne) Coles
db243f1fe1 Merge "webview: add trace event for relro timeout." into tm-dev 2022-06-16 17:41:47 +00:00
Nate Myren
55a21602aa Add Ad Services pregrant to DPGP
Bug: 236172390
Test: atest DefaultPermissionGrantPolicyTest
Change-Id: I2a0be45ef71a2875a39a1fd1d62ae5b50f6cb18c
2022-06-16 10:21:40 -07:00
Matt Pietal
dad4f1c9e8 Merge "Close panel immediately on launch animation end" into tm-dev 2022-06-16 16:14:29 +00:00
Riddle Hsu
b509f92e49 Do not set insets changed for invisible window
The visible-requested state of non-activity/wallpaper window is
usually true because it doesn't consider token visibility and the
policy visibility isn't hidden.

Since insets change will also trigger reportResized if
WindowFrames#hasInsetsChanged() returns true, the visible-requested
state should be only used if the token of window implements
isVisibleRequested(). Otherwise all invisible window will receive
resize and report drawn for configuration change, such as display
rotation.

Fix: 236235776
Test: atest WindowStateTests#testSetFreezeInsetsState
Test: adb shell wm logging enable-text WM_DEBUG_RESIZE
      Rotate screen, there is no log "Reporting new frame to"
      for invisible windows.
Change-Id: Ibe34fa94e7cee7f9db460b0a205a87d0efe6a0f9
2022-06-16 20:07:52 +08:00
Alex Johnston
b6db15ac2f Make WorkLockActivity theme translucent
* Instead, set the background in the auth_biometric_background view
* This fixes a bug where there is an infinite loop to start the confirm device credential intent

Bug: 234536059
Test: Manual testing with TestDPC

Manual testing steps
* Setup device with TestDPC
* Set a work lock
* Open TestDPC in the work profile
* Select "lock now"
* Verify there is no infinite loop

Change-Id: I866e3d48a66e562050ad89ebc7f2ae0ac0455737
2022-06-16 12:24:53 +01:00
Miguel Aranda
12e599047c Merge "Merge "Fix ZipFilePerfTest issues by closing the file in each loop iteration." am: 90c3935195 am: 9c051367f8 am: 4c2143df58 am: 10eceff1b1 am: b90b509fc7" into tm-dev 2022-06-16 08:25:18 +00:00
TreeHugger Robot
2f8fc626c3 Merge "Update brightness nits to keep brightnessFloat same when RBC toggled" into tm-dev 2022-06-16 08:11:09 +00:00
TreeHugger Robot
bbecbbeeb0 Merge "Keep OEM defined DisplayAreaPolicy.Provider" into tm-dev 2022-06-16 02:05:54 +00:00
Beth Thibodeau
a2b34c4c21 Merge "Forward device updates when info changes" into tm-dev 2022-06-16 00:17:04 +00:00
Hai Zhang
b5a2fdd6ca [automerger skipped] Don't remove SYSTEM_FIXED for intentional fixed grants to critical apps. am: 74a6adb8e0 -s ours am: c39d9728d6 -s ours
am skip reason: Merged-In Iaf5e2a0d86259805a9ef03f8f1baa14dd8c58da0 with SHA-1 b0b2863467 is already in history

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

Change-Id: I06fb52192cd75431efc22b54cb4e3109a3728729
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 21:48:24 +00:00
Hai Zhang
c39d9728d6 [automerger skipped] Don't remove SYSTEM_FIXED for intentional fixed grants to critical apps. am: 74a6adb8e0 -s ours
am skip reason: Merged-In Iaf5e2a0d86259805a9ef03f8f1baa14dd8c58da0 with SHA-1 b0b2863467 is already in history

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

Change-Id: Icbdb2192ef3326a81dc712393a40c6469654eb67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 21:30:19 +00:00
huiyu
ae5e234cec Fix the missing history event problem.
[ag/8009931 is to fix the missing event problem and it get reverted in ag/15961577.
Now revert the change that causes the problem.]

Make a copy of mHistoryCur and add the copy to history buffer after
starting a new history file.

Bug: 230799882
Test: ag/8009931 reproduce steps.
Change-Id: If9339ed5182b65b9c59c119894e4f317b2e5751c
2022-06-15 12:55:09 -07:00
Jayant Chowdhary
565f6d457f Merge "Add PREVIEW_STABILIZATION to StaticMetadata.java" into tm-dev 2022-06-15 18:38:03 +00:00
Torne (Richard Coles)
836308968a webview: add trace event for relro timeout.
Record an instant trace event if we encounter a timeout while waiting
for relro creation, using the same message we already log.

We're seeing a number of occurrences of this timeout in cases where
WebView is otherwise working in traces, so this should help to debug.

Using the ACTIVITY_MANAGER trace tag as it's enabled for the trace
collection pipeline already; WEBVIEW is not.

Bug: 235546861
Test: n/a
Change-Id: I2b60c5699efde026da934457e430adaebad1d2b3
2022-06-15 12:26:59 -04:00
Ming-Shin Lu
016c6a7320 Merge "Fix the startingWindow may clipped during AR#transferStartingWindow" into tm-dev 2022-06-15 15:14:16 +00:00
Beth Thibodeau
f35cfddd03 Forward device updates when info changes
In some cases, the device/route name could change without also updating
the ID. This updates the check to include all fields of MediaDeviceData except
for the icon (which can change reference more frequently than is necessary
to reload). Now if the name, status, or intent has changed, listeners
will be updated to have the new info.

Bug: 235627592
Test: manual
Test: atest MediaDataManagerTest
Change-Id: Iefd7ce0e8859b89db2bc75c243b3a04a0cb3915d
Merged-In: Iefd7ce0e8859b89db2bc75c243b3a04a0cb3915d
2022-06-15 15:08:27 +00:00
Hawkwood Glazier
8b5e8952aa Merge "Media transition must crossfade when transitioning to transparent" into tm-dev 2022-06-15 14:59:32 +00:00
Rupesh Bansal
6764156fa1 Update brightness nits to keep brightnessFloat same when RBC toggled
Bug: 230563819
Test: Manually toggle RBC, and observe that brightness nits change, with
no change in the brightness percentage.

Change-Id: Icb2bff98479cc44aa773ab6e2a828bb281dedbc1
2022-06-15 14:24:10 +00:00
Matt Pietal
1d426536b7 Close panel immediately on launch animation end
Otherwise the activity will launch, then the window will quickly flip
back to the fully expanded shade and make the user watch the collapse
animation before finally showing the activity that was started.

This path only occurs when the keyguard is unlocked, and triggers the
remote occlude animation to run.

Fixes: 234577570
Test: manual, use face unlock without bypass, unlock the lockscreen,
then start an occluding activity (controls, maps)

Change-Id: Ifcb59cce810c81e607d5fe83389d282100ef7236
2022-06-15 14:13:11 +00:00
Jason Parks
4492604de8 Merge "Add method to check to see if the component is the supervison component." into tm-dev 2022-06-15 12:54:00 +00:00
Miguel Aranda
94fe3798f5 Merge "Fix ZipFilePerfTest issues by closing the file in each loop iteration." am: 90c3935195 am: 9c051367f8 am: 4c2143df58 am: 10eceff1b1 am: b90b509fc7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2096495

Change-Id: I5f7b1c7f88ae0340c52ebad56132ec0f1d042e20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
(cherry picked from commit a65e6fe7ef)
Bug: 231407205
2022-06-15 11:07:58 +00:00
Jeff DeCew
1a4f7b8bc3 Merge "Fix notifications disappearing when shade fully expands." into tm-dev 2022-06-15 10:15:44 +00:00
Louis Chang
909495e9d6 Merge "Make sure the relayoutWindow is called when Activity restarted" into tm-dev 2022-06-15 05:53:49 +00:00
Hai Zhang
74a6adb8e0 Don't remove SYSTEM_FIXED for intentional fixed grants to critical apps.
See b/208785537#comment11.

Bug: 208785537
Bug: 206556385
Bug: 183537857
Fixes: 203175819
Fixes: 229913295
Test: presubmit
Change-Id: Iaf5e2a0d86259805a9ef03f8f1baa14dd8c58da0
Merged-In: Iaf5e2a0d86259805a9ef03f8f1baa14dd8c58da0
(cherry picked from commit e6f07a4fb2)
(cherry picked from commit b0b2863467)
(cherry picked from commit 751b86257688210328f300bc3268b99f14ed1a73)
2022-06-15 05:31:44 +00:00
TreeHugger Robot
ce944699c6 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-06-15 05:25:34 +00:00
TreeHugger Robot
97eee9f04f Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-06-15 05:25:34 +00:00
TreeHugger Robot
54cabdde8f Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-06-15 05:25:34 +00:00
TreeHugger Robot
64bbf7fb8d Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-06-15 05:25:34 +00:00
TreeHugger Robot
57effef07f Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-06-15 05:25:34 +00:00
Chris Li
61339d80a2 Keep OEM defined DisplayAreaPolicy.Provider
Without this change, it may throw ClassNotFoundException when OEMs
define their own DisplayAreaPolicy.Provider.

Fix: 235942308
Test: verify with a customized provider
Change-Id: I397f4fc05ecd5732e3ebb417de3a66c280f678b3
2022-06-15 12:07:39 +08:00
Charles Chen
eb86759eec Merge "Respect minimum dimensions for embedded Activities" into tm-dev 2022-06-15 03:32:04 +00:00
Kenneth Ford
d10c6d8ae4 Ignore tests in RecoverableKeyStoreManagerTest am: 4220de4d5b am: a4924eb85c am: 3a2171f668 am: e813a20711 am: 1554a00af4 am: 393f58bfde am: a132abb4ca am: 5effd75fff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18720703

Change-Id: I1ef00b509ccd637cf30efd2ad2be7d9d670bdfe7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 03:22:22 +00:00
Kenneth Ford
5effd75fff Ignore tests in RecoverableKeyStoreManagerTest am: 4220de4d5b am: a4924eb85c am: 3a2171f668 am: e813a20711 am: 1554a00af4 am: 393f58bfde am: a132abb4ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18720703

Change-Id: I4f1d8c984a06f084a51f8f2ae2ae5a1ce465e970
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 03:06:08 +00:00
Kenneth Ford
a132abb4ca Ignore tests in RecoverableKeyStoreManagerTest am: 4220de4d5b am: a4924eb85c am: 3a2171f668 am: e813a20711 am: 1554a00af4 am: 393f58bfde
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18720703

Change-Id: Ida57de216f484f4150ab3a4da8065a7c3169ca41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 02:38:06 +00:00
Vadim Tryshev
ce4cf41cab Merge "Experiment with using "presubmit-sysui" TEST_MAPPING suite" into tm-dev 2022-06-15 02:13:33 +00:00
Kenneth Ford
393f58bfde Ignore tests in RecoverableKeyStoreManagerTest am: 4220de4d5b am: a4924eb85c am: 3a2171f668 am: e813a20711 am: 1554a00af4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18720703

Change-Id: Iaac10e4fcea2638ae321beeaf1b4b2ef3351fcaa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 01:31:51 +00:00
Steve Elliott
5060905ae8 Merge "Add logging to KeyguardNotifVisProvider" into tm-dev 2022-06-15 01:11:28 +00:00
Kenneth Ford
1554a00af4 Ignore tests in RecoverableKeyStoreManagerTest am: 4220de4d5b am: a4924eb85c am: 3a2171f668 am: e813a20711
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18720703

Change-Id: I2c4c7f6b37499f78192c138caa830d03a3377d77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 01:04:06 +00:00
Kenneth Ford
e813a20711 Ignore tests in RecoverableKeyStoreManagerTest am: 4220de4d5b am: a4924eb85c am: 3a2171f668
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18720703

Change-Id: I9339317759418659c34ae10dcdb9a98ef7017290
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 00:38:39 +00:00
Kenneth Ford
3a2171f668 Ignore tests in RecoverableKeyStoreManagerTest am: 4220de4d5b am: a4924eb85c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18720703

Change-Id: Ia735cd97a591faa63c344958b41e7c4feb7f2a89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-14 22:57:41 +00:00
Kenneth Ford
a4924eb85c Ignore tests in RecoverableKeyStoreManagerTest am: 4220de4d5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18720703

Change-Id: I837accdc0d4f5bada34fe8da18075092dd295801
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-14 22:31:58 +00:00
TreeHugger Robot
48a2973fea Merge "Camera: Update the advanced extension version checks" into tm-dev 2022-06-14 22:28:09 +00:00
Wonsik Kim
84959301fb Merge "Revert "MediaCodec: don't cache buffers until requested"" into tm-dev 2022-06-14 21:48:41 +00:00
vadimt
a195fd05a7 Experiment with using "presubmit-sysui" TEST_MAPPING suite
We'll see if it helps with test isolation against the problem with slow broadcasts.

Bug: 202567877, 235268992
Test: various
Change-Id: I5c42ddc615fe0aed8322f5fa890c60bc8084f670
2022-06-14 20:50:47 +00:00
Wonsik Kim
bc7d1172e0 Revert "MediaCodec: don't cache buffers until requested"
This reverts commit d59a075f79.

Reason for revert: regression (see b/235925715)
Fixes: 235925715
Bug: 189889230
Test: manual

Change-Id: I2e52c3abdd13fa0547a510b3599e082e3bff0989
2022-06-14 20:01:22 +00:00