Commit Graph

891995 Commits

Author SHA1 Message Date
Treehugger Robot
6367da36bb Merge "Remove demotion flags when a JobWorkItem is enqueued." into udc-dev 2023-05-11 16:48:52 +00:00
Treehugger Robot
ef6853a2a4 Merge "Remove INTERNET permission requirement." into udc-dev 2023-05-11 16:48:01 +00:00
TreeHugger Robot
13c49d38e0 Merge "Fix concurrency logging." into udc-dev 2023-05-11 16:46:50 +00:00
Mady Mellor
7369ef1ac4 Merge "Use ComponentCallbacks instead of ConfigurationChangeListener" into udc-dev 2023-05-11 16:46:40 +00:00
Darrell Shi
59ea47e0ab Log Monitor condition updates to TableLogBuffer.
This change introduces a plugin interface for TableLogBuffer so Monitor,
which is under the shared/ target, can communicate through it and log
condition updates in a table format.

Bug: 280816949
Fix: 280816949
Test: atest ConditionMonitorTest
Test: adb bugreport and verify conditions logged as table in ABT

Change-Id: Ib5d69bba61a190ed0426ab548d2129572ced376c
2023-05-11 16:43:04 +00:00
Chris Antol
9bc3bcb780 Merge "Re-add text color to Settings Switch" into udc-dev 2023-05-11 16:40:55 +00:00
Johannes Gallmann
8ec552f492 Fix PrivacyChip not visible issue
Bug: 281807669
Test: atest SysteMStatusAnimationSchedulerImplTest
Change-Id: I9851e6ed4cb956d0459ef56251eb0ef3210764b8
2023-05-11 18:38:53 +02:00
Marcello Galhardo
b4409415ce Use IntentSubject to simplify NoteTaskControllerTest
Test: atest SystemUITests:NoteTaskControllerTest
Flag: not needed
Fixes: b/281662778
Change-Id: I465a9d1e0b0a2991af2d218afa86c17dc4e63848
2023-05-11 16:34:00 +00:00
TreeHugger Robot
743eb54490 Merge "Add extra key for call attributes." into udc-dev 2023-05-11 16:33:26 +00:00
Austin Delgado
789b7330e8 Merge "Ignore touches outside of Udfps Overlay bounds" into udc-dev am: aee24a214f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22936863

Change-Id: Ifb5620521c17d8f4614a26afca9dec5880e0724a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 16:31:55 +00:00
Roy Chou
cfc7d52231 fix(non linear font scaling)!: fix QS text being cut off when 200% font scaling
Originally the QS tile height is fixed to 80dp and may contain 2 textViews in tile content. When font scaling changed to 200%, the height from 80dp is not enough for the textViews. Therefore, in TileLayout, we estimate the needed height for the tile under given font scaling, and compare with the height from resources/dimens. The larger height would become the exact tile height, to have a proper tile height for full tile content view.

Bug: b/272072639
Test: manually - attached video in bug
      atest TileLayoutTest
      atest QuickQSPanelTest
Change-Id: I6054ef1a6fd0fc28522181f5bc7774cb0abaf14a
2023-05-11 16:29:09 +00:00
Austin Delgado
aee24a214f Merge "Ignore touches outside of Udfps Overlay bounds" into udc-dev 2023-05-11 16:29:04 +00:00
Diya Bera
99082b4d25 Merge "[DO NOT MERGE] Change fingerprint reenrollment to acquired message" into udc-dev am: 474ca5dba1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23062317

Change-Id: Ia075dcfcd6b307d86a2d6865863dcbbeb935c103
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 16:26:36 +00:00
Diya Bera
d842437914 [DO NOT MERGE] Change fingerprint reenrollment to acquired message am: 955ea0db05
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23062317

Change-Id: I93336057e0bfcb2359845e1afbd478d811ba0e2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 16:26:19 +00:00
Atneya Nair
c13d9329d1 Merge "Ensure ST does not remain requested after error" into udc-dev am: 187b8ecf0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23065726

Change-Id: Icc3ba0b1985488b9dc29da6b3c6753599eaee69e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 16:25:09 +00:00
Anton Potapov
f3a707f192 Add keyguard before app removal in Home Controls
Test: manual
Test: atest ControlsUiControllerImplTest
Fixes: 280338980
Change-Id: Icb8244c6f09e275f10423447e05b0cd1a88402bf
2023-05-11 17:21:05 +01:00
Robin Lee
c39f71a5a8 Merge "Cancel the wallpaper animation after the tests" into udc-dev am: 3b92806912
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23154360

Change-Id: I7303ab85e4d313914ba1e0222652d7ea4745b2e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 16:18:57 +00:00
Vishnu Nair
3724498b70 Merge "[wm] Explicitly release surfacecontrol in mirrorDisplay" into udc-dev am: d6181d7c2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23136534

Change-Id: I9f7d1b824b518fad1ef40726892cbfa3f816218e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 16:17:28 +00:00
Patrick Baumann
b03b6f7f31 Deny FSI permission for sideloads
Change-Id: I465f5d855a82b687dc4fdc40bd86ff06ede4aec9
Bug: 277749494
Fixes: 277749494
Test: manual
2023-05-11 16:16:40 +00:00
Paul Colța
3f6a0bc337 Merge "HDMICEC: Keep device name empty when OSD name is not set" into udc-dev am: 87f1a12cdb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23159139

Change-Id: I92c2b88e6afbd6ec630334bd1894631390a4cd95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 16:16:26 +00:00
Diya Bera
474ca5dba1 Merge "[DO NOT MERGE] Change fingerprint reenrollment to acquired message" into udc-dev 2023-05-11 16:16:24 +00:00
Mohamad Mahmoud
e6d58feecc Merge "Move dumpAnrStateLocked off the critical ANR path" into udc-dev am: bc6fc2c405
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23130580

Change-Id: I313ead94c97d8e066d5e8c780b0c9fd2f6cacfe2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 16:11:30 +00:00
Elis Elliott
c7c2f3f281 Merge "Fix APIs which use admin policies in permission check" into udc-dev am: 03a43c31c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23130960

Change-Id: I754b673186b966a26ed432289cebe42ef89a14ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 16:10:22 +00:00
Atneya Nair
187b8ecf0f Merge "Ensure ST does not remain requested after error" into udc-dev 2023-05-11 15:57:00 +00:00
Robin Lee
3b92806912 Merge "Cancel the wallpaper animation after the tests" into udc-dev 2023-05-11 15:55:45 +00:00
Patrick Baumann
79744b4cbb Bypass instant app resolution when NON_BROWSER specified
This change bypasses instant app navigation when the caller provides the
non-browser flag on an intent. Instant resolution is a stand-in for the
browser and when an instant app fails to install or similar, the
fallback to browser would fail with this flag present.

Fixes: 269673899
Test: manual
Test: atest EphemeralTest
Change-Id: I01e3017367fe74d923a1bc72970a4bcde362fc27
2023-05-11 15:55:01 +00:00
Antony Sargent
734a40cf8f Warn the user when a streamed app requests authentication
When a user is streaming an app running on a VirtualDisplay owned by a
VirtualDevice, and that app requests authentication via the
BiometricPrompt api, the streamed view of the app appears frozen and
the user may not understand that they need to go to their phone to
complete the authentication. This CL adds a toast we show in this
situation to help the user know what to do.

Bug: 246425400
Test: atest AuthServiceTest VirtualDeviceManagerServiceMockingTest
Change-Id: I5c88832c948545e9aab1eb23cca97a3165008dae
2023-05-11 08:53:30 -07:00
Vishnu Nair
d6181d7c2b Merge "[wm] Explicitly release surfacecontrol in mirrorDisplay" into udc-dev 2023-05-11 15:46:28 +00:00
Paul Colța
87f1a12cdb Merge "HDMICEC: Keep device name empty when OSD name is not set" into udc-dev 2023-05-11 15:39:45 +00:00
Sherry Zhou
685f93a978 Fix clock too low in preview
Test: manual
Bug: 279645188
Change-Id: I05a87f89109814690edf6d5d0f5a211fc9f99194
2023-05-11 15:38:44 +00:00
Mohamad Mahmoud
bc6fc2c405 Merge "Move dumpAnrStateLocked off the critical ANR path" into udc-dev 2023-05-11 15:34:34 +00:00
Elis Elliott
03a43c31c3 Merge "Fix APIs which use admin policies in permission check" into udc-dev 2023-05-11 15:24:10 +00:00
Ioana Alexandru
9c48885854 [automerger skipped] Verify URI permissions for notification shortcutIcon. am: 47e661cbf3 -s ours am: 0b88dc6098 -s ours am: 16c2a3340b -s ours am: 7161f2a5a8 -s ours am: 0b08770f21 -s ours am: 1702071120 -s ours am: 04fc7142cd -s ours am: 6951679a04 -s ours am: 28ce92a21f -s ours
am skip reason: Merged-In Iaf2a9a82f18e018e60e6cdc020da6ebf7267e8b1 with SHA-1 01a1598047 is already in history

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

Change-Id: I3f5cbe36ac33eab540810eda2fd21938d41b174f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 14:49:35 +00:00
Automerger Merge Worker
9bcb98e95c Merge "[automerger skipped] Verify URI permissions for notification shortcutIcon. am: 2f66b7da2a -s ours am: 732a3ed7af -s ours am: ec0649bb30 -s ours am: 40b173447d -s ours am: 12740324e6 -s ours am: f51037914f -s ours am: bff272cc23 -s ours" into udc-dev am: 934d9f99d4 -s ours
am skip reason: Merged-In Iaf2a9a82f18e018e60e6cdc020da6ebf7267e8b1 with SHA-1 01a1598047 is already in history

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

Change-Id: Ia03a3374de5d235d19f1c4e3af10bf49120f5438
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 14:49:19 +00:00
Ioana Alexandru
11754e2828 [automerger skipped] Verify URI permissions for notification shortcutIcon. am: 2f66b7da2a -s ours am: 732a3ed7af -s ours am: ec0649bb30 -s ours am: 40b173447d -s ours am: 12740324e6 -s ours am: f51037914f -s ours am: bff272cc23 -s ours am: 082264800d -s ours
am skip reason: Merged-In Iaf2a9a82f18e018e60e6cdc020da6ebf7267e8b1 with SHA-1 01a1598047 is already in history

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

Change-Id: Ic945bbd7e41bd57b5b166f45c134f4a34427b2eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 14:49:10 +00:00
Ioana Alexandru
d0cde8b432 [automerger skipped] Verify URI permissions for notification shortcutIcon. am: 2f66b7da2a -s ours am: 732a3ed7af -s ours am: ec0649bb30 -s ours am: 40b173447d -s ours am: 12740324e6 -s ours am: f51037914f -s ours am: bff272cc23 -s ours am: d7ad6e808f -s ours
am skip reason: Merged-In Iaf2a9a82f18e018e60e6cdc020da6ebf7267e8b1 with SHA-1 01a1598047 is already in history

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

Change-Id: I2c0cdfd850bed13368a6896ce59c836db770b906
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 14:48:47 +00:00
Eric Laurent
efd8566a5a Merge changes I81bda912,I5ed93786 into udc-dev am: 9ccb30e3ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23154100

Change-Id: I3a430a76f73d6e58f57a233e3bde77357a4ffc11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 14:48:37 +00:00
Vali Calinescu
af8222e7df Merge "Refresh activity after stronger letterboxing for camera compat" into udc-dev am: 64696fa416
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23131201

Change-Id: I0f1e4d57f1a068d7eb19d377b8fe7502ebe9b88f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 14:46:36 +00:00
Graciela Wissen Putri
0585b227d0 [7/n] Camera Compat: Tooltip with shell transitions
Test: Manual
Fix: 266738239
Change-Id: I08ea64620a8c2612dbccd757077c137317256613
2023-05-11 14:45:54 +00:00
Ioana Alexandru
28ce92a21f [automerger skipped] Verify URI permissions for notification shortcutIcon. am: 47e661cbf3 -s ours am: 0b88dc6098 -s ours am: 16c2a3340b -s ours am: 7161f2a5a8 -s ours am: 0b08770f21 -s ours am: 1702071120 -s ours am: 04fc7142cd -s ours am: 6951679a04 -s ours
am skip reason: Merged-In Iaf2a9a82f18e018e60e6cdc020da6ebf7267e8b1 with SHA-1 01a1598047 is already in history

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

Change-Id: I169167dab5e24a294f781b6ecc4ca0dfa94e6129
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 14:45:26 +00:00
Automerger Merge Worker
934d9f99d4 Merge "[automerger skipped] Verify URI permissions for notification shortcutIcon. am: 2f66b7da2a -s ours am: 732a3ed7af -s ours am: ec0649bb30 -s ours am: 40b173447d -s ours am: 12740324e6 -s ours am: f51037914f -s ours am: bff272cc23 -s ours" into udc-dev 2023-05-11 14:45:15 +00:00
Ioana Alexandru
082264800d [automerger skipped] Verify URI permissions for notification shortcutIcon. am: 2f66b7da2a -s ours am: 732a3ed7af -s ours am: ec0649bb30 -s ours am: 40b173447d -s ours am: 12740324e6 -s ours am: f51037914f -s ours am: bff272cc23 -s ours
am skip reason: Merged-In Iaf2a9a82f18e018e60e6cdc020da6ebf7267e8b1 with SHA-1 01a1598047 is already in history

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

Change-Id: I2e9a6a4ed7b0d13d2781727be1fe982f5d3e12f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 14:44:54 +00:00
Ioana Alexandru
d7ad6e808f [automerger skipped] Verify URI permissions for notification shortcutIcon. am: 2f66b7da2a -s ours am: 732a3ed7af -s ours am: ec0649bb30 -s ours am: 40b173447d -s ours am: 12740324e6 -s ours am: f51037914f -s ours am: bff272cc23 -s ours
am skip reason: Merged-In Iaf2a9a82f18e018e60e6cdc020da6ebf7267e8b1 with SHA-1 01a1598047 is already in history

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

Change-Id: I8726d03150212b08a4883f5a8d905c58af3706e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 14:44:20 +00:00
Elis Elliott
78bcc2f399 Fix APIs which use admin policies in permission check
Fixes: 278635943

Test: atest com.android.cts.devicepolicy.ManagedProfileTest
Change-Id: I563550c2d5c36151c0c0f94f330fac2334779c10
2023-05-11 14:41:09 +00:00
Eric Laurent
9ccb30e3ae Merge changes I81bda912,I5ed93786 into udc-dev
* changes:
  Revert "AudioService: synchronize BT_SCO on and A2DP or LE suspended states"
  Revert "AudioDeviceBroker: fix deadlock with setA2dpSuspended"
2023-05-11 14:27:21 +00:00
Vali Calinescu
64696fa416 Merge "Refresh activity after stronger letterboxing for camera compat" into udc-dev 2023-05-11 14:25:05 +00:00
Roy Chou
531c586a87 Merge "fix(non linear font scaling)!: fix status bar date/battery text being cut off when 200% font scaling" into udc-dev am: db2bd90fb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23021476

Change-Id: I3aea197a9985114c76572ac3fd4fc61779bb8d07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 14:25:01 +00:00
Vali Calinescu
d591a26c9a Add opt-out property for min aspect ratio override
Bug: 278428984
Test: atest WmTests:LetterboxUiControllerTest
Test: atest CtsWindowManagerDeviceTestCases:CompatChangeTests
Change-Id: I27c9ba2ba79b4461781e532892bb5382d7741439
2023-05-11 14:22:24 +00:00
1
c6432b617c Remove ChooserSelector.
The chooser has been selected, there's no going back.

Bug: 254512507
Test: mp sysuig
Change-Id: Ia18496020bf553e385579e5edf7ff3ce4f0ed3a2
2023-05-11 14:20:24 +00:00
Reema Bajwa
5b9e01be70 Fix the exception type set on ui cancellation
Test: built & deployed locally
Bug: 281849060

Change-Id: Id3617ecf725bbca32e371ddded617deb8967655e
2023-05-11 14:18:41 +00:00