Commit Graph

888577 Commits

Author SHA1 Message Date
Lucas Dupin
4e5473b67e Merge "Don't set ImageWallpaper to home only the first time" into udc-dev 2023-06-30 18:45:16 +00:00
Matt Casey
c23c1647ee [automerger skipped] Merge "[DO NOT MERGE] Update quickshare intent rather than recreating" into tm-dev am: 7455a41bd0 -s ours am: 0da99117c8 -s ours am: 681d561a3f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I32755ceb543577779aab93188ce772de5a6f49b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 18:44:14 +00:00
Miranda Kephart
ae6495ad7b [automerger skipped] [DO NOT MERGE] Update quickshare intent rather than recreating am: 02938e8cca -s ours am: 4c6703914d -s ours am: e44eeff64c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7c63c4de70c9890115d4b42d5dbdd50a10611fbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 18:43:48 +00:00
Matt Casey
681d561a3f [automerger skipped] Merge "[DO NOT MERGE] Update quickshare intent rather than recreating" into tm-dev am: 7455a41bd0 -s ours am: 0da99117c8 -s ours
am skip reason: Merged-In Icad3d5f939fcfb894e2038948954bc2735dbe326 with SHA-1 573d31ef20 is already in history

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

Change-Id: If56427473646fe1b25fb8da7d885b52e4360f766
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 18:03:39 +00:00
Miranda Kephart
e44eeff64c [automerger skipped] [DO NOT MERGE] Update quickshare intent rather than recreating am: 02938e8cca -s ours am: 4c6703914d -s ours
am skip reason: Merged-In Icad3d5f939fcfb894e2038948954bc2735dbe326 with SHA-1 573d31ef20 is already in history

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

Change-Id: I8eef8916ee8349c204150925d9f0259712f91ec5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 18:03:28 +00:00
Matt Casey
f737d4ce8c [automerger skipped] Merge "[DO NOT MERGE] Update quickshare intent rather than recreating" into tm-dev am: 7455a41bd0 -s ours am: e43aae1c67 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I51f0836794d161d10fe68f08a9dc76a18b5ce0ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 18:01:46 +00:00
Miranda Kephart
700647556e [automerger skipped] [DO NOT MERGE] Update quickshare intent rather than recreating am: 02938e8cca -s ours am: 4a73287f0d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4b8e517465525b94bc31f106128324b1e67b2985
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 18:01:02 +00:00
Caitlin Shkuratov
2de68db5c4 Merge "[Status Bar] Set status bar window insets to the status bar height." into udc-dev 2023-06-30 17:59:00 +00:00
Perry Wu
9dd349972c Merge "Fixes bad PIP state when opening Maps from the lock screen" into udc-dev 2023-06-30 17:57:33 +00:00
Perry Wu
2cca90ecf4 Fixes bad PIP state when opening Maps from the lock screen
When opening an app that's in PIP from a notification on the lock screen,
there's a race condition where the EXIT_PIP transition occurs before the
keyguard is removed, causing it to get aborted. This change resets the
PIP state and windowing mode manually when we receive the aborted transition.

Also fixes an issue with a snapshot being present when entering PIP
from this state.

Test: Manual check + presubmit
Bug: 283783868
Change-Id: I026dd35498210d2b39ccc0235ec225a9c7341dfe
2023-06-30 17:28:36 +00:00
Matt Casey
0da99117c8 [automerger skipped] Merge "[DO NOT MERGE] Update quickshare intent rather than recreating" into tm-dev am: 7455a41bd0 -s ours
am skip reason: Merged-In Icad3d5f939fcfb894e2038948954bc2735dbe326 with SHA-1 573d31ef20 is already in history

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

Change-Id: Idf8bbc1fc1b1b819df31dc42d5d831751258e74b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 17:22:44 +00:00
Miranda Kephart
4c6703914d [automerger skipped] [DO NOT MERGE] Update quickshare intent rather than recreating am: 02938e8cca -s ours
am skip reason: Merged-In Icad3d5f939fcfb894e2038948954bc2735dbe326 with SHA-1 573d31ef20 is already in history

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

Change-Id: Id2057890de9b42cce81e4c74845678c7666744c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 17:22:41 +00:00
Matt Casey
e43aae1c67 [automerger skipped] Merge "[DO NOT MERGE] Update quickshare intent rather than recreating" into tm-dev am: 7455a41bd0 -s ours
am skip reason: Merged-In Icad3d5f939fcfb894e2038948954bc2735dbe326 with SHA-1 573d31ef20 is already in history

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

Change-Id: I146fe65b191737aa8010e0d8f5f516790f2e92a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 17:21:44 +00:00
Miranda Kephart
4a73287f0d [automerger skipped] [DO NOT MERGE] Update quickshare intent rather than recreating am: 02938e8cca -s ours
am skip reason: Merged-In Icad3d5f939fcfb894e2038948954bc2735dbe326 with SHA-1 573d31ef20 is already in history

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

Change-Id: I9d064071f37a53661a9cd0ff1480b766dd308195
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 17:21:40 +00:00
Matt Casey
7455a41bd0 Merge "[DO NOT MERGE] Update quickshare intent rather than recreating" into tm-dev 2023-06-30 16:35:07 +00:00
Miranda Kephart
02938e8cca [DO NOT MERGE] Update quickshare intent rather than recreating
Currently, we extract the quickshare intent and re-wrap it as a new
PendingIntent once we get the screenshot URI. This is insecure as
it leads to executing the original with SysUI's permissions, which
the app may not have. This change switches to using Intent.fillin
to add the URI, keeping the original PendingIntent and original
permission set.

Bug: 278720336
Test: manual (to test successful quickshare), atest
SaveImageInBackgroundTaskTest (to verify original pending intent
unchanged)

Merged-In: Icad3d5f939fcfb894e2038948954bc2735dbe326
Change-Id: Icad3d5f939fcfb894e2038948954bc2735dbe326
2023-06-30 13:58:00 +00:00
Caitlin Shkuratov
d4c9489b1d [Status Bar] Set status bar window insets to the status bar height.
This is needed for the animation shown when you tap the ongoing call
chip in order to launch the call app. If we do *not* set the insets,
then the insets will change during the animation, which will result in
the animation being cancelled and show jank when launching the app.

Fixes: 283958440
Test: tap on ongoing call chip -> verify no jank during animation
Test: status bar smoke test on phone (verify status bar in portrait and
landscape, with and without ongoing call chip)
Test: status bar smoke test on tablet (verify status bar in portrait and
landscape, with and without ongoign call chip)

Change-Id: Ic0f9d7d571d3872b96135080313439020a294d3d
2023-06-30 11:50:44 +00:00
Omar Miatello
3620213c62 Merge "Fix notifications wrong corners after "clear all"" into udc-dev 2023-06-30 08:50:53 +00:00
Tej Singh
9ada0c5ab2 Merge "Log plug state chage & other events at boot" into udc-dev 2023-06-30 06:20:51 +00:00
Shaowei Shen
0a2ecf1cfb Merge "[Output Switcher] Allow volume adjustment for Guest" into udc-dev 2023-06-30 02:04:10 +00:00
Matías Hernández
b91edcc660 [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into rvc-dev am: 7e6c75ccb5 am: af247aefd6 -s ours am: dcd80daf8a -s ours am: 59eb028c6c -s ours am: cbed626a19 -s ours am: cf9683418c -s ours am: d9211df8a0 -s ours am: 50ba4b02a7 -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 8a40b0b3a1 is already in history

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

Change-Id: I2e63c472d641cda457b2a9d7164c63ccd0678771
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 22:35:02 +00:00
Matías Hernández
50ba4b02a7 [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into rvc-dev am: 7e6c75ccb5 am: af247aefd6 -s ours am: dcd80daf8a -s ours am: 59eb028c6c -s ours am: cbed626a19 -s ours am: cf9683418c -s ours am: d9211df8a0 -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 8a40b0b3a1 is already in history

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

Change-Id: I8686ce789209e3f9474034e5c443a11c0828c08e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 21:55:19 +00:00
Matías Hernández
f6e565ffd2 [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into rvc-dev am: 7e6c75ccb5 am: af247aefd6 -s ours am: dcd80daf8a -s ours am: 59eb028c6c -s ours am: cbed626a19 -s ours am: cf9683418c -s ours am: d815a03f6c -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 8a40b0b3a1 is already in history

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

Change-Id: I17c39394b8f81100929cc6c0f099be4aa1f17b3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 21:03:28 +00:00
Matías Hernández
d9211df8a0 [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into rvc-dev am: 7e6c75ccb5 am: af247aefd6 -s ours am: dcd80daf8a -s ours am: 59eb028c6c -s ours am: cbed626a19 -s ours am: cf9683418c -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 8a40b0b3a1 is already in history

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

Change-Id: I16a69b74b99c9ff8b2dd51cf5fb0c06bdd80e7cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 20:22:12 +00:00
Matías Hernández
d815a03f6c [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into rvc-dev am: 7e6c75ccb5 am: af247aefd6 -s ours am: dcd80daf8a -s ours am: 59eb028c6c -s ours am: cbed626a19 -s ours am: cf9683418c -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 8a40b0b3a1 is already in history

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

Change-Id: I2ba41fe01098c54abae120e8006bc635689323b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 20:21:10 +00:00
Matías Hernández
cf9683418c [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into rvc-dev am: 7e6c75ccb5 am: af247aefd6 -s ours am: dcd80daf8a -s ours am: 59eb028c6c -s ours am: cbed626a19 -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 8a40b0b3a1 is already in history

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

Change-Id: Ib9208affbf4af25d6bd11d4a935d14e1532e5c66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 19:49:05 +00:00
Liahav Eitan
9a4f84be11 Merge "Skip user consent popup when sending a personal intent into profile owner app" into udc-dev 2023-06-29 19:33:48 +00:00
Tej Singh
79f08fb251 Log plug state chage & other events at boot
Logs plugged state changed, charging state changed, and battery level to
statsd at boot. These events used to be logged at boot, but the logic
was changed in ag/19715391. This is a partial revert of ag/19715391 to
restore the logic to the old behavior.

Bug: 289301086
Test: manually verified the atoms were logged at boot
Change-Id: Ia5136531ec4fa1014b44bcf2701af543b66bfe45
Merged-In: Ia5136531ec4fa1014b44bcf2701af543b66bfe45
2023-06-29 19:27:40 +00:00
Robin Lee
a3bd224e93 Merge changes from topic "keyguard-occlude-race-transitions" into udc-dev
* changes:
  All keyguard occludes go in-band with transitions
  Call finishedCallback after transitioning away from DREAM
2023-06-29 19:19:30 +00:00
Matías Hernández
cbed626a19 [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into rvc-dev am: 7e6c75ccb5 am: af247aefd6 -s ours am: dcd80daf8a -s ours am: 59eb028c6c -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 8a40b0b3a1 is already in history

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

Change-Id: I34bc002db4574c5ea0fa2dd437d9d6aaa296163b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 18:45:31 +00:00
Kateryna Ivanova
e132b30b3e Merge "Improve transition between AOD and lockscreen when media is playing for split shade" into udc-dev 2023-06-29 18:04:30 +00:00
Matías Hernández
59eb028c6c [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into rvc-dev am: 7e6c75ccb5 am: af247aefd6 -s ours am: dcd80daf8a -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 8a40b0b3a1 is already in history

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

Change-Id: Ic3f134916c9a88d6df1df5071cf690a3e4234d71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 17:57:31 +00:00
Aaron Liu
ea97953353 Merge "Handle when sim state indicates that it is absent" into udc-dev 2023-06-29 17:52:37 +00:00
Treehugger Robot
15988e77e6 Merge "Deduplicate test expectation data in a different way" into udc-dev 2023-06-29 17:47:29 +00:00
Treehugger Robot
6e1bc14f58 Merge "Make sure to call back View#onCheckIsTextEditor() on the UI thread" into udc-dev 2023-06-29 17:38:57 +00:00
Mateusz Cicheński
9a2a683a56 Merge "Make PipTransition use animators bounds for unhandled case" into udc-dev 2023-06-29 17:34:35 +00:00
Hongwei Wang
c7a500cc4d Merge "Polish home-key from split to pip transition" into udc-dev 2023-06-29 17:17:02 +00:00
Matías Hernández
dcd80daf8a [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into rvc-dev am: 7e6c75ccb5 am: af247aefd6 -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 8a40b0b3a1 is already in history

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

Change-Id: I85e38608609a6cc93612868316a0605ac35a9b2e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 17:11:24 +00:00
Liahav Eitan
b1cafd1e3b Skip user consent popup when sending a personal intent into profile owner app
[This is a late temporary fix - in the next release we would probably want to work with Custom DPCs to prevent such communication after the work profile is enabeld]

Bug: 288965420
Test: manual BYOD provisioning using VMWare AirWatch
Change-Id: Ib3a0686b31a11ab7067abf22793d1e114b6135a7
2023-06-29 17:09:21 +00:00
Behnam Heydarshahi
a59313c190 Merge "Revert "a11y volume slider focus"" into udc-dev 2023-06-29 16:32:59 +00:00
Matías Hernández
af247aefd6 Merge "Forbid granting access to NLSes with too-long component names" into rvc-dev am: 7e6c75ccb5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23728043

Change-Id: I30e3aee591614bb9e98af9db85b51fc4f459a9d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 16:25:28 +00:00
Michał Brzeziński
228ddbf5bd Merge "Fixing constraint of statusIcons in large screen shade header" into udc-dev 2023-06-29 15:50:18 +00:00
Matías Hernández
7e6c75ccb5 Merge "Forbid granting access to NLSes with too-long component names" into rvc-dev 2023-06-29 15:42:36 +00:00
Patrick Baumann
86a6b1692b Merge "Remove incorrect statement from docs" into udc-dev 2023-06-29 15:03:52 +00:00
Matías Hernández
9496237878 [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into sc-dev am: a322492bbe am: eb8bc82a83 am: 98e33c93bc -s ours am: 3aff1e2615 -s ours am: c28076d2a7 -s ours am: 949a2ec1c6 -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 6fcdbd0c6e is already in history

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

Change-Id: Ibda5f6349e2af05f0e0ba28e85d77b321390bc17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 13:03:48 +00:00
Matías Hernández
dc71156a29 Forbid granting access to NLSes with too-long component names
This makes the limitation, which was previously only checked on the Settings UI, enforced everywhere.

Fixes: 260570119
Fixes: 286043036
Test: atest + manually
Change-Id: I4c25d80978cb37a8fa1531f5045259d25ac64692
Merged-In: I4c25d80978cb37a8fa1531f5045259d25ac64692
2023-06-29 14:29:36 +02:00
Matías Hernández
949a2ec1c6 [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into sc-dev am: a322492bbe am: eb8bc82a83 am: 98e33c93bc -s ours am: 3aff1e2615 -s ours am: c28076d2a7 -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 6fcdbd0c6e is already in history

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

Change-Id: I6f9187e681cd999e744443098a2c395560d041fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 12:24:58 +00:00
Matías Hernández
14aabf679c [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into sc-dev am: a322492bbe am: eb8bc82a83 am: 98e33c93bc -s ours am: 3aff1e2615 -s ours am: 9ad3e53c11 -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 6fcdbd0c6e is already in history

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

Change-Id: I66e2d90174d6d2646fb0a0a3db3be1f6b1764a1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 12:22:27 +00:00
Matías Hernández
c28076d2a7 [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into sc-dev am: a322492bbe am: eb8bc82a83 am: 98e33c93bc -s ours am: 3aff1e2615 -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 6fcdbd0c6e is already in history

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

Change-Id: I71946f979901a04ff11cc7419503223e600587fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 11:41:09 +00:00
Matías Hernández
9ad3e53c11 [automerger skipped] Merge "Forbid granting access to NLSes with too-long component names" into sc-dev am: a322492bbe am: eb8bc82a83 am: 98e33c93bc -s ours am: 3aff1e2615 -s ours
am skip reason: Merged-In I4c25d80978cb37a8fa1531f5045259d25ac64692 with SHA-1 6fcdbd0c6e is already in history

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

Change-Id: I140d2fbd2c2ae3e26c8990f53a999eb1c73bfd25
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 11:40:05 +00:00