Commit Graph

731802 Commits

Author SHA1 Message Date
Amith Yamasani
15cd688ea7 Merge "Dismiss keyguard when target user has no password" 2021-11-17 15:59:47 +00:00
Joshua Trask
bab70a55ba Merge "Add priv-app allow-listing for unbundled chooser." 2021-11-17 15:58:27 +00:00
Charles Chen
513100fee5 Merge "Try to fix ActivityThreadTest failure on foldables" into sc-v2-dev am: 88c6602ef9 am: 9bc0350cee
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16280314

Change-Id: Iea3efbf991883bcb992625ece9e69e115d794414
2021-11-17 15:08:27 +00:00
Neil Fuller
920e9e56ec Merge "Remove geo suggestion clearing" 2021-11-17 15:03:06 +00:00
Charles Chen
9bc0350cee Merge "Try to fix ActivityThreadTest failure on foldables" into sc-v2-dev am: 88c6602ef9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16280314

Change-Id: Ia222646249843c3e04eca50ca82e4aac0f43fa57
2021-11-17 14:47:32 +00:00
Charles Chen
88c6602ef9 Merge "Try to fix ActivityThreadTest failure on foldables" into sc-v2-dev 2021-11-17 14:29:51 +00:00
Neil Fuller
41bab72cc2 Merge "A mixed bag of tidy ups / refactoring" 2021-11-17 14:29:36 +00:00
Beverly Tai
e5c828ce19 [automerger skipped] Merge "Allow udfps when strong auth is required" into sc-v2-dev am: 92287d6029 am: 55468e3343 -s ours
am skip reason: Merged-In Ia7e56b7d9b857a76036161cbd6edd981bed3bb6c with SHA-1 11dddec1bf is already in history

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

Change-Id: I1dd83bae07bcc6a03b7af1105cafb3cf501d1c40
2021-11-17 14:12:10 +00:00
Martijn Coenen
e57620446b Have getVolumeList() take a userId instead of a UID.
getVolumeList() previously accepted a uid and a packagename. This
approach has a few issues:
1) The uid wasn't actually checked in the implementation to match the
calling UID, nor was the package name checked against the UID in all
cases.
2) The implementation assumed that the UID also specificies the userId
that we want to get the volumes for. This was historically true, but
with the new app cloning implementation, MediaProvider running in user 0
might ask for volumes in the clone user.

To fix this, explicitly pass in the userId that we're requesting volumes
for, and verify that the calling UID and the passed in package name
match.

Bug: 206624903
Test: atest packages/providers/MediaProvider
Change-Id: Idffbb4ae7740c1b9725af0974948dc55bf1f1fde
2021-11-17 13:59:54 +00:00
Nataniel Borges
eeb9d427ce Merge "Disable tests not compatible with current shell transitions" 2021-11-17 13:59:35 +00:00
Beverly Tai
55468e3343 Merge "Allow udfps when strong auth is required" into sc-v2-dev am: 92287d6029
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16213903

Change-Id: Id4eb19445f75fd5cc280f6d999eb2fd561062d55
2021-11-17 13:53:58 +00:00
Pablo Gamito
b2182915f0 Merge "Support rounded corners animations in shell" 2021-11-17 13:44:49 +00:00
Beverly Tai
92287d6029 Merge "Allow udfps when strong auth is required" into sc-v2-dev 2021-11-17 13:30:03 +00:00
Prabir Pradhan
234a821860 Merge "Change PointerController to display space" 2021-11-17 12:58:02 +00:00
Nicolas Geoffray
827a16ba66 Merge "Remove obsolete files on preloaded classes." am: 637477eb87 am: a54de89cf0 am: 02b0ec4681 am: e833855ad5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885635

Change-Id: I7ed4099a60a32b98ad388e0c2c7f256d8414a517
2021-11-17 11:49:13 +00:00
Nicolas Geoffray
e833855ad5 Merge "Remove obsolete files on preloaded classes." am: 637477eb87 am: a54de89cf0 am: 02b0ec4681
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885635

Change-Id: I667eb3343e8e60ce2c1e030cadb0058e57ded796
2021-11-17 11:31:29 +00:00
Nataniel Borges
7fdad8f97a Disable tests not compatible with current shell transitions
Not all tests are working when wm shell is enabled. However, it is important to put the ones that are working in presubmit/postsubmit to prevent regressions

Test: atest FlickerTests WMShellFlickerTests with shell transitions on
Bug: 206753786
Bug: 206669574
Bug: 206086894
Bug: 204574221
Bug: 204570898
Bug: 206085788
Bug: 206090480
Bug: 206094140
Bug: 206101151

Change-Id: I3e7f6c8c044221c403a0a4030eb7806f2c8b63a5
2021-11-17 12:23:45 +01:00
Nicolas Geoffray
02b0ec4681 Merge "Remove obsolete files on preloaded classes." am: 637477eb87 am: a54de89cf0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885635

Change-Id: I7a2336951f7e65216fc218e2df8bde8e87983d87
2021-11-17 11:19:44 +00:00
Pablo Gamito
8181f28f1b Merge "Migrate task transition with background color to shell" 2021-11-17 11:19:04 +00:00
Pratyush More
7a937c356e Merge "Add LocaleManager host-side CTS suite to TEST_MAPPING." 2021-11-17 11:11:08 +00:00
Nicolas Geoffray
a54de89cf0 Merge "Remove obsolete files on preloaded classes." am: 637477eb87
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885635

Change-Id: Ie1763534a12744cab0afc5fb7f9f48a73251958e
2021-11-17 10:58:40 +00:00
Bernardo Rufino
f5956d39ae Merge "Deprecate unsafe parcel APIs" am: 9f8b914c9f am: 87b6f365d3 am: 04f4d7aa21 am: df232c0faf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1890540

Change-Id: Ied54481c20c266512190fb0a438b5756c87b7687
2021-11-17 10:57:04 +00:00
Bernardo Rufino
df232c0faf Merge "Deprecate unsafe parcel APIs" am: 9f8b914c9f am: 87b6f365d3 am: 04f4d7aa21
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1890540

Change-Id: I1cedae136129697fcf2df852034eb6c422e6316a
2021-11-17 10:37:31 +00:00
Nicolas Geoffray
637477eb87 Merge "Remove obsolete files on preloaded classes." 2021-11-17 10:36:58 +00:00
TreeHugger Robot
2a29c3f422 Merge "Fix install permission revocation upon source package uninstallation." 2021-11-17 10:29:48 +00:00
Bernardo Rufino
04f4d7aa21 Merge "Deprecate unsafe parcel APIs" am: 9f8b914c9f am: 87b6f365d3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1890540

Change-Id: If483ab5bd836e3700d67bc7ba6701f5e35a58b57
2021-11-17 10:20:56 +00:00
Bernardo Rufino
87b6f365d3 Merge "Deprecate unsafe parcel APIs" am: 9f8b914c9f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1890540

Change-Id: I27a79a0f04d5cf99d9b8efb56fcc32a6dd43c108
2021-11-17 10:09:27 +00:00
Weng Su
80014dbe89 Merge "[Provider Model] Show "See All" when only connected WiFi appears" into sc-v2-dev am: cdb38ec55d am: eedf3af9c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16262238

Change-Id: I6e552d37dff8cd75bdb1fdd5debff4f5846a0b76
2021-11-17 10:02:00 +00:00
Bernardo Rufino
9f8b914c9f Merge "Deprecate unsafe parcel APIs" 2021-11-17 09:43:11 +00:00
Weng Su
eedf3af9c1 Merge "[Provider Model] Show "See All" when only connected WiFi appears" into sc-v2-dev am: cdb38ec55d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16262238

Change-Id: I02880bd3c155b34b58ddce6d1922e176c46dad28
2021-11-17 09:36:34 +00:00
Weng Su
cdb38ec55d Merge "[Provider Model] Show "See All" when only connected WiFi appears" into sc-v2-dev 2021-11-17 09:22:31 +00:00
Kriti Dang
e085620798 Merge "Fetch display metrics" 2021-11-17 09:15:51 +00:00
Kriti Dang
2063823739 Merge "Fetch surround sound metrics" 2021-11-17 09:15:27 +00:00
Charles Chen
74cc4db965 Try to fix ActivityThreadTest failure on foldables
The root cause of this failure is that we don't specify Configuration#orientation
in test, so #handleActivityConfigurationChanged uses device orientation
instead, which is landscape in the failure case. In this way, TestActivity receives
2 onConfigurationChanged callbacks, one is to make Activity portrait,
the other is to make Activity landscape, which is from process
configuration.

This CL specifies orientation in each propagated Configuration to
prevent orientation overridden by process Configuration.

Bug: 204903019
Test: atest ActivityThreadTest
Change-Id: I4d7720ef1128fc8612381b1a076b06beb765f1b6
2021-11-17 17:11:49 +08:00
Nathalie Le Clair
ab03253dc2 Merge "Turn on TV when pressing power or wake key during boot" 2021-11-17 08:26:29 +00:00
Hui Wang
97c0d42172 Merge changes from topic "cbr-roaming-support"
* changes:
  [automerge] Apply new settings widget lib for cbr roaming feature support 2p: d5d275c90c
  Apply new settings widget lib for cbr roaming feature support
2021-11-17 07:20:19 +00:00
Diego Vela
b139877ad4 Merge "Ignore folding feature when it is not on the active display." into sc-v2-dev am: 3a323caf29 am: 2f37431c6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16196230

Change-Id: I183e3b6b7ed1e323ae8cb6c148e7336c9875ca05
2021-11-17 06:26:02 +00:00
Automerger Merge Worker
d9581fb66e Merge "Merge "Add ServiceManager.registerForNotifications" am: ce80de5db0 am: 45ddf12cbc am: 3b546f86e0 am: 5c940e62c3" 2021-11-17 06:25:39 +00:00
Yifan Hong
e0d06afbe5 Merge "Add ServiceManager.registerForNotifications" am: ce80de5db0 am: 45ddf12cbc am: 3b546f86e0 am: 5c940e62c3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1883550

Change-Id: I873e0e99b6671858cdbc4ed85312f77fd2bbe077
2021-11-17 06:24:57 +00:00
JW Wang
074b561a3d Merge "Merge cleanStageDir() and destroyInternal() (1/n)" 2021-11-17 06:24:53 +00:00
Diego Vela
2f37431c6a Merge "Ignore folding feature when it is not on the active display." into sc-v2-dev am: 3a323caf29
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16196230

Change-Id: Idf6b6b5b3ed8621e8799191eb671d0c6e1c79ffc
2021-11-17 06:13:16 +00:00
Yifan Hong
5c940e62c3 Merge "Add ServiceManager.registerForNotifications" am: ce80de5db0 am: 45ddf12cbc am: 3b546f86e0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1883550

Change-Id: Ic5346dff7ffdb0f2d0d8e911cb931db167c7a2b0
2021-11-17 06:12:15 +00:00
Diego Vela
3a323caf29 Merge "Ignore folding feature when it is not on the active display." into sc-v2-dev 2021-11-17 06:00:31 +00:00
Yifan Hong
3b546f86e0 Merge "Add ServiceManager.registerForNotifications" am: ce80de5db0 am: 45ddf12cbc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1883550

Change-Id: I8f7746e16b1e60fbc29a93dae3046b05f00c212d
2021-11-17 05:55:32 +00:00
Yifan Hong
45ddf12cbc Merge "Add ServiceManager.registerForNotifications" am: ce80de5db0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1883550

Change-Id: I65215f414aced825be29e036c378057d9c861138
2021-11-17 05:23:59 +00:00
Yifan Hong
ce80de5db0 Merge "Add ServiceManager.registerForNotifications" 2021-11-17 05:02:35 +00:00
Milton Wu
f5c3a290f6 Merge "Impl CUJ_NOTIFICATION_SHADE_QS_SCROLL_SWIPE" 2021-11-17 04:05:47 +00:00
Adam Bookatz
68fbeda8f2 Merge "Don't show corp badge for supervised users" 2021-11-17 03:47:58 +00:00
Chris Li
89a797ab00 Merge "Set window crop for TaskFragment open/close animation" into sc-v2-dev am: ddd87bf8d9 am: 9b017b058f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16239964

Change-Id: Iff2eba434725220615564657da22ca22df0e673d
2021-11-17 03:46:57 +00:00
Chris Li
9b017b058f Merge "Set window crop for TaskFragment open/close animation" into sc-v2-dev am: ddd87bf8d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16239964

Change-Id: Iad7ac0667b9f8593c5dfb431ddf3ebd97b1b1ee2
2021-11-17 03:30:36 +00:00