- Dec 15, 2023
-
-
Tim Yu authored
* SaveUI's template * Inline Suggestions slices Fixes: b/286235483 Fixes: b/292104015 Test: atest CtsAutoFillServiceTestCases (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bab7d3e4590ed839d1968f4bfd3ba7e8d36b3a67) Merged-In: I48879174664b70ced90492bb0991dc91cbf89b79 Change-Id: I48879174664b70ced90492bb0991dc91cbf89b79
-
Daniel Norman authored
Bug: 309426390 Test: atest CtsAccessibilityTestCases:AccessibilityManagerTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e83d6c801bb4f97b9b4b54280ac9e1486e622313) Merged-In: I4a63583dcd1c7a7c388fb278ec1c1c53c135e934 Change-Id: I4a63583dcd1c7a7c388fb278ec1c1c53c135e934
-
Valentin Iftime authored
Prevent DoS attack that causes boot-looping by serializing a huge amount of snoozed notifications: - Check snooze limits for persisted notifications - Remove persisted group summary notification when in-memory counterpart is removed - Prevent unpriviledged API calls that allow 3P apps to snooze notifications with context/criterion Test: atest SnoozeHelperTest Test: atest NotificationManagerServiceTest Bug: 307948424 Bug: 308414141 (cherry picked from commit 965ff2d3) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:da6a9ea6deece5b2505d5facdf5d44cfc08057f3) Merged-In: I3571fa9207b778def652130d3ca840183a9a8414 Change-Id: I3571fa9207b778def652130d3ca840183a9a8414
-
Fabián Kozynski authored
Test: atest TileLifecycleManagerTest Test: manual: adb shell dumpsys activity service Test: sts test Bug: 300903792 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7cf363d1fe7c474120ae1c4a96c6adc4c8946d9f) Merged-In: Ia8126ac65432b124683960e3ebf47301ba6172a1 Change-Id: Ia8126ac65432b124683960e3ebf47301ba6172a1
-
Sergey Nikolaienkov authored
Implement shouldHideDocument() in the ExternalStorageProvider so that it resitcts access to 'Android/data/', 'Android/obb/' and 'Android/sandbox' on the integrated shared storage along with all their content and subdirectories. Clean up the abstract FileSystemProvider, specifically all variants of queryChildDocuments(). Bug: 200034476 Bug: 220066255 Bug: 283962634 Test: make & flash systemimage, run manually Test: atest ExternalStorageProviderTests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7f5667bfafbd9b1b4d59c2cb15f9a3e07a559318) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cf28630a3e286629ed7b13badd4fb0412564c0fd) Merged-In: I48c2ce7ff2d7fc067961ea2af0ea63818316f086 Change-Id: I48c2ce7ff2d7fc067961ea2af0ea63818316f086
-
- Nov 17, 2023
-
-
Android Build Coastguard Worker authored
[coastguard skipped] Merge sparse cherrypicks from sparse-11084887-L36700030000358185 into udc-qpr1-release. COASTGUARD_SKIP: Id31878f5943ef7095df8d75cfae6297e58360979 COASTGUARD_SKIP: Ia40cfacbee6fc174c90db8e3687838ae01e2858b Change-Id: I03f767328f3bfc08b09f427a3d3d97a6d11591e3
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25327380'] into sparse-11084887-L36700030000358185. SPARSE_CHANGE: Ia40cfacbee6fc174c90db8e3687838ae01e2858b Change-Id: Id31878f5943ef7095df8d75cfae6297e58360979
-
Nikhil Kumar authored
The existing implementation of user switching puts subsequent user switches into a queue if there is already a user switch in progress. For example, if the current user is A and there is a user switch sequence to switch to user B and then to user C, the UserController#switchUser method will put the user switch to C into a pending user switch list and perform it once the existing user switch to B is finished. However, if the sequence is to switch from user A to user B and then back to user A, and when switch to user A reaches the UserController#switchUser method before the switch to user B is completed, the method will think that the current user is A and that there is no need to switch to user A, and will therefore skip that switch. The refactored code handles this scenario by adding an extra condition which additionally verifies that there are no further switches scheduled in case the target user is equal to the current user and the switch is going to be skipped. Bug: 303743201 Test: tested manually with switch user scenario current user is 0 switch to user 10 and then switch back to user 0. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1e3d4f48ab24593ec401ccbc968efbc0a82fea40) Merged-In: Ia40cfacbee6fc174c90db8e3687838ae01e2858b Change-Id: Ia40cfacbee6fc174c90db8e3687838ae01e2858b
-
- Nov 16, 2023
-
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25027409', 'googleplex-android-review.googlesource.com/25165839', 'googleplex-android-review.googlesource.com/25224776', 'googleplex-android-review.googlesource.com/25246670', 'googleplex-android-review.googlesource.com/25097160', 'googleplex-android-review.googlesource.com/25272315', 'googleplex-android-review.googlesource.com/25253990', 'googleplex-android-review.googlesource.com/25235458', 'googleplex-android-review.googlesource.com/25291109', 'googleplex-android-review.googlesource.com/25373704'] into udc-qpr1-release. Change-Id: I61c48eba58624dd4cd9bd15af71120164dd47abe
-
Jason Parks authored
Test: btest android.devicepolicy.gts.RequiredPatchesTest Bug: 305455828 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1f62598d066756e2aeff6b0a4c4f155014020e5e) Merged-In: I044184df62623ae9d05ec743d24bb6437373dedf Change-Id: I044184df62623ae9d05ec743d24bb6437373dedf
-
Li Li authored
Although freezer has been enforced to be enabled, it can be disabled on legacy vendor freeze project. And it can be temporarily disabled when taking a bugreport. Bug: 309448826 Test: Disable freezer and boot Android (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4f7bfa5c6dbf43f8b4e46ef3a7979dac47c2ad0c) Merged-In: I380c892a6cb92adfe739fb9cafca3c902772a384 Change-Id: I380c892a6cb92adfe739fb9cafca3c902772a384
-
Li Li authored
If a process has set its binder callback for transaction errors, those binder transaction erros will be delivered to AMS. Freezer then checks the frozen apps to kill whoever recevie sync binder calls or run out of async binder buffer. Bug: 199336863 Bug: 308190346 Test: atest BinderfsStatsReaderTest Test: send binder calls to frozen apps and check logcat (cherry picked from commit 99defbed) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7b3c52a3eeea9a1d895a3bd3a4ff4ef86657f526) Merged-In: Iedf4d1c988d5afdeb4fad0f354322828c0c3698e Change-Id: Iedf4d1c988d5afdeb4fad0f354322828c0c3698e
-
Yurii Zubrytskyi authored
When launching an activity we may handle the launch before applying the application info update that carries new overlay paths for the app. In this case the activity will have enough time to load the resources with no overlays applied, and use e.g. wrong accent colors. This change makes sure we apply pending application info updates on any activity launch, and that the resource paths are up to date on the very first Resources object creation. Bug: 299064578 Test: manual, factory reset for 8a, 10x (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7230cdf9d79e634a03eb126f89d0bf2591dccb8a) Merged-In: I501d9ce39f6e0437484632c85bf2773fe4a16474 Change-Id: I501d9ce39f6e0437484632c85bf2773fe4a16474
-
Jason Parks authored
The storage format of users changed in userVersion 10. When upgrading from userVersion 9 (Android 13), local user restrictions would be read as base restrictions. This fix properly reads in the old version and converts it to the new storage format. Bug: 305455828 Test: atest UserManagerServiceUserInfoTest (cherry picked from commit 347b8a00) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:739281096aba494151f8c953f2d63ec9fd4c7e87) Merged-In: I14fdac19b4458c6bd2ccee7d1b119bc710e1b600 Change-Id: I14fdac19b4458c6bd2ccee7d1b119bc710e1b600
-
Evan Chen authored
For mutil user case, make sure the calling userid matching the passing userid Test: test it on sample app Bug: 298635078 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0d030db893f35c589c807afcea119ce3ad904096) Merged-In: I6c478ebcc1d981faf2d125a4b41909c3b6a30a2a Change-Id: I6c478ebcc1d981faf2d125a4b41909c3b6a30a2a
-
Dmitry Dementyev authored
When user profile is removed AccountManagerService.purgeUserData may be called after a delay. Until it happens other methods may try to access database for a removed profile which causes a crash. Bug: 281980345 Test: N/A (cherry picked from commit 1fb0fb38) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:012998e4be23975d5cdae6438cdccb19f0ec5105) Merged-In: Idb9840a5b9f9fdc84516149066cbb2a945c083a7 Change-Id: Idb9840a5b9f9fdc84516149066cbb2a945c083a7
-
Marvin Bernal authored
Bug: 290869686 Test: Manual (cherry picked from commit 2354d4d1) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:151f3a646abbffd271b0787ed8fb9413849ea1e7) Merged-In: Iad0991724c75c0a63d8a14c313a143a9be660137 Change-Id: Iad0991724c75c0a63d8a14c313a143a9be660137
-
Nan Wu authored
Log to detect usage of whitelistToken when sending non-PI target Log ActivityManagerService.sendIntentSender if the target is not a PendingIntent and a non-null whitelistToken is sent to the client. This is simply to detect if there are real cases this would happen before we decide simply remove whitelistToken in that case. Do not pass whitelistToken when sending non-PI target In ActivityManagerService.sendIntentSender, if the target is not a PendingIntent, do not send whitelistToken to the client. Bug: 279428283 Test: Manual test (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6a58836fbdee74e6ba1192814dde0b4597414aa0) Merged-In: I017486354a1ab2f14d0472c355583d53c27c4810 Change-Id: I017486354a1ab2f14d0472c355583d53c27c4810
-
Vinit Nayak authored
* If main or side stage have a child, we move that stage to be on top when performing the split to pip transition. * We also prevent the stage with a child from dismissing in DefaultMixedHandler#animateEnterPipFromSplit * In both cases we use isSplitScreenVisible() as our proxy to determine if we're dismissing one of the split pairs vs swiping up to home, since in the swipe up case split becomes invisible and then Pip requests to be shown as a separate transition Bug: 293254265 Test: Steps don't repro. Pip shows up and hides when it's supposed to. There's a KI quickswitch issue but happens w/o this change (b/303722342) (cherry picked from commit 8003d4cb) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ed9e0a512bc2b483907c69cc9358411ef9e07be7) Merged-In: I7892ac1612ab2dccdd81c0bece987aab3ad69194 Change-Id: I7892ac1612ab2dccdd81c0bece987aab3ad69194
-
- Nov 10, 2023
-
-
Android Build Coastguard Worker authored
Change-Id: I7ed8760e1cdd21928ac1669ee7539ec8f12432e4
-
Riddle Hsu authored
For example: Callback1 { sendNewConfiguration } Callback2 { applySomething } If Callback1 completes first, its sendNewConfiguration won't take effect because isWaitingForRemoteDisplayChange is true by the pending Callback2. And then when Callback2 completes, it only perform its own operations. So this change provides a callback from display to make sure its pending config change can be handled when all remote callbacks are done. Fix: 305655839 Test: atest DisplayContentTests#testRemoteDisplayChange (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c793afe3bd45cd5e5a820e67e681483b2c14b8fb) Merged-In: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf Change-Id: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
-
- Nov 03, 2023
-
-
Android Build Coastguard Worker authored
[coastguard skipped] Merge sparse cherrypicks from sparse-11049176-L05200030000080823 into udc-qpr1-release. COASTGUARD_SKIP: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf COASTGUARD_SKIP: I4a5eb219bc198d2edad0be83f7f69feb317883d1 Change-Id: I31909d74df074deb1d429258c0f6185c965f868f
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25201937'] into sparse-11049176-L05200030000080823. SPARSE_CHANGE: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf Change-Id: I4a5eb219bc198d2edad0be83f7f69feb317883d1
-
Riddle Hsu authored
For example: Callback1 { sendNewConfiguration } Callback2 { applySomething } If Callback1 completes first, its sendNewConfiguration won't take effect because isWaitingForRemoteDisplayChange is true by the pending Callback2. And then when Callback2 completes, it only perform its own operations. So this change provides a callback from display to make sure its pending config change can be handled when all remote callbacks are done. Fix: 305655839 Test: atest DisplayContentTests#testRemoteDisplayChange (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c793afe3bd45cd5e5a820e67e681483b2c14b8fb) Merged-In: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf Change-Id: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
-
- Nov 02, 2023
-
-
Android Build Coastguard Worker authored
[coastguard skipped] Merge sparse cherrypicks from sparse-11044053-L79500030000063296 into udc-qpr1-release. COASTGUARD_SKIP: I05478bdafa988fdc0c5c4de88adfc7489e3d9e8e COASTGUARD_SKIP: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf Change-Id: I139d960db650790a618215f268931e19a48350fe
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25201937'] into sparse-11044053-L79500030000063296. SPARSE_CHANGE: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf Change-Id: I05478bdafa988fdc0c5c4de88adfc7489e3d9e8e
-
Riddle Hsu authored
For example: Callback1 { sendNewConfiguration } Callback2 { applySomething } If Callback1 completes first, its sendNewConfiguration won't take effect because isWaitingForRemoteDisplayChange is true by the pending Callback2. And then when Callback2 completes, it only perform its own operations. So this change provides a callback from display to make sure its pending config change can be handled when all remote callbacks are done. Fix: 305655839 Test: atest DisplayContentTests#testRemoteDisplayChange (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c793afe3bd45cd5e5a820e67e681483b2c14b8fb) Merged-In: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf Change-Id: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
-
Android Build Coastguard Worker authored
[coastguard skipped] Merge sparse cherrypicks from sparse-11030841-L28900030000046249 into udc-qpr1-release. COASTGUARD_SKIP: I7666dcf0c5f86a6a1a912a638dca80ecd7fe2484 COASTGUARD_SKIP: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf Change-Id: I90e70f4cf78ff6c7c572798aa63f210b206509f7
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25201937'] into sparse-11030841-L28900030000046249. SPARSE_CHANGE: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf Change-Id: I7666dcf0c5f86a6a1a912a638dca80ecd7fe2484
-
Riddle Hsu authored
For example: Callback1 { sendNewConfiguration } Callback2 { applySomething } If Callback1 completes first, its sendNewConfiguration won't take effect because isWaitingForRemoteDisplayChange is true by the pending Callback2. And then when Callback2 completes, it only perform its own operations. So this change provides a callback from display to make sure its pending config change can be handled when all remote callbacks are done. Fix: 305655839 Test: atest DisplayContentTests#testRemoteDisplayChange (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c793afe3bd45cd5e5a820e67e681483b2c14b8fb) Merged-In: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf Change-Id: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
-
- Oct 26, 2023
-
-
Android Build Coastguard Worker authored
Change-Id: Ie64c92ae5bd014932c746f338b601354b72da8e4
-
Haoran Zhang authored
This reverts commit 58e1c93c. Reason for revert: b/306964891. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:29d48b546d4118caec3cbce0eee528ad6cb5a6ed) Merged-In: I09f6c9d3570aed0f94385b46f7103e836693e502 Change-Id: I09f6c9d3570aed0f94385b46f7103e836693e502
-
- Oct 23, 2023
-
-
Android Build Coastguard Worker authored
Change-Id: I436592642f8d2bc3bfd3713ef28dc72ce0c24690
-
Li Li authored
Android Studio uses adb to launch a process for screen mirroring. This kind of processes is not managed by AMS and run with uid shell or root. In such a case, that process behaves like a gone Android app so it will miss display events. This won't impact any normal Android apps. Check if the uid belongs to an Android app for Android Studio. Bug: 303684492 Test: Enable display mirroring in Android Studio and check logs (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:380b3932bda7ad87f3180b8f1949d7b2b710b9d6) Merged-In: I3fb20327979eca8774f7ddf143b2b8f2386e6b56 Change-Id: I3fb20327979eca8774f7ddf143b2b8f2386e6b56
-
- Oct 20, 2023
-
-
Android Build Coastguard Worker authored
Change-Id: I73f0c9259f8b183c0d5ec7aa73278533d5405d59
-
Tyler Gunn authored
This carrier config is ultimately temporary and should be removed in a future release in favor of just ALWAYS preferring an in-service sim for a normal routed emergency call. Test: See other CL in this chain for the tests performed. Bug: 281934614 Bug: 299150073 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:962c19e2afe932a2dcf1deac46df22dadcb50cf9) Merged-In: Iac9136dc2315617e612e55ca72026dcae16f232d Change-Id: Iac9136dc2315617e612e55ca72026dcae16f232d
-
Android Build Coastguard Worker authored
[coastguard skipped] Merge sparse cherrypicks from sparse-10978663-L86500000963621132 into udc-qpr1-release. COASTGUARD_SKIP: Id1643b6abc5be162d89c4abe386cfdfaf4a2bae7 COASTGUARD_SKIP: Ieacc78332716aa6628d67ca3227b6995ec7bb49e COASTGUARD_SKIP: I5093162cbfa632bafe6870c84177952becc82c50 Change-Id: Iebf0afa29a91deb0be8e73eaadc28bdc61e944d4
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25102441', 'googleplex-android-review.googlesource.com/25106966'] into sparse-10978663-L86500000963621132. SPARSE_CHANGE: I5093162cbfa632bafe6870c84177952becc82c50 SPARSE_CHANGE: Ieacc78332716aa6628d67ca3227b6995ec7bb49e Change-Id: Id1643b6abc5be162d89c4abe386cfdfaf4a2bae7
-
Chavi Weingarten authored
Add additional traces and logs that will provide more info on when a draw doesn't proceed due to screen being turned off, content not visible, or if draw is canceled. Bug: 284687313 Bug: 305595315 Test: Logcat and perfetto traces (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:85c3259e9308c12fbd727cccad002b12628a9ef0) Merged-In: Ieacc78332716aa6628d67ca3227b6995ec7bb49e Change-Id: Ieacc78332716aa6628d67ca3227b6995ec7bb49e
-
Fiona Campbell authored
- Add logging to registering & unregistering listeners in display manager. - Add logging to follow path of listener notifications Bug: 284687313 Test: adb shell setprop persist.debug.vri_package <package-name> (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9edaca21093acaa3a53af23a1afb736225f3b141) Merged-In: I5093162cbfa632bafe6870c84177952becc82c50 Change-Id: I5093162cbfa632bafe6870c84177952becc82c50
-