- Nov 16, 2023
-
-
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
-
- Oct 19, 2023
-
-
Android Build Coastguard Worker authored
[coastguard skipped] Merge sparse cherrypicks from sparse-10971902-L45800000963599846 into udc-qpr1-release. COASTGUARD_SKIP: I5093162cbfa632bafe6870c84177952becc82c50 COASTGUARD_SKIP: Ieacc78332716aa6628d67ca3227b6995ec7bb49e COASTGUARD_SKIP: Ib55100ede466eb077c88b2f50ec4db73ff3fab99 Change-Id: I1e751196edcef89380b430385147df8adf29735b
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25102441', 'googleplex-android-review.googlesource.com/25106966'] into sparse-10971902-L45800000963599846. SPARSE_CHANGE: I5093162cbfa632bafe6870c84177952becc82c50 SPARSE_CHANGE: Ieacc78332716aa6628d67ca3227b6995ec7bb49e Change-Id: Ib55100ede466eb077c88b2f50ec4db73ff3fab99
-
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:1ab8ba34276a9602d5af1985e7ce9a7460a6ca7d) Merged-In: I5093162cbfa632bafe6870c84177952becc82c50 Change-Id: I5093162cbfa632bafe6870c84177952becc82c50
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/24761638', 'googleplex-android-review.googlesource.com/25104249'] into udc-qpr1-release. Change-Id: Ibeb1c29d07194732bf7f2494c3a3e988aa1cb524
-
Jing Ji authored
We're reporting an ANR if the app process doesn't finish the handling of bindApplication within the BIND_APPLICATION_TIMEOUT. But very often, due to the contended system resources, the app process just doesn't get enough CPU time to run. Also given the bindApplication includes the time the app spends on Application#onCreate(), now relax the timeout to 20s by default. Bug: 304484667 Test: Manual (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9e814a91321f3ecd32521f83ac5fed20388b7d07) Merged-In: If8a3db7511ef0b348e9f343fd91de9063f8826f2 Change-Id: If8a3db7511ef0b348e9f343fd91de9063f8826f2
-
Tyler Freeman authored
This avoids a race condition where we start receiving events and trying to send them to the input filter before it's been installed. Fix: 290271948 Test: manual: 1. Turn on magnification shortcut button 2. Tap it repeatedly quickly for like 30 seconds 3. Should not crash. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f509803cad6652c79871bb0a7b509ba2d1054b67) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6bf1032b01bbbe6956623ae501f96d9964d0e39b) Merged-In: I24f0eafb2479ac7427ba28077e45ba26a9127cc8 Change-Id: I24f0eafb2479ac7427ba28077e45ba26a9127cc8
-
- Oct 18, 2023
-
-
Android Build Coastguard Worker authored
Change-Id: I294620bb34d39443580947141bb917ead11c735c
-
Aurélien Pomini authored
The first time this method is called for a system-only wallpaper, if the lock wallpaper is not loaded yet, it will not be aware of the lock wallpaper and will think that the system wallpaper is sys+lock. This happens after a reboot + user switch when the secondary user have two different wallpapers. This may fix other cases where the lock screen wallpaper is set to same as home screen Bug: 300537586 Test: atest WallpaperManagerTest Test: manually check that the bug is fixed (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:58e3cfe430ed60bd4bb56117824d6736831562ef) Merged-In: Ib37f83233deac7198997910991ffcce75b357aae Change-Id: Ib37f83233deac7198997910991ffcce75b357aae
-
- Oct 17, 2023
-
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25009816', 'googleplex-android-review.googlesource.com/25057592', 'googleplex-android-review.googlesource.com/25039491', 'googleplex-android-review.googlesource.com/25058689'] into udc-qpr1-release. Change-Id: I33a526eef1d6aea92378a9cb954d7fcc7555d6ae
-
Ayush Sharma authored
Bug: 210537972 Test: NA (cherry picked from commit a93b4fdf) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:82e838218f45e0af3365f3b5fe4d6346b8ad7a41) Merged-In: If2f41aea48ac9284ad205debb878d633072431f4 Change-Id: If2f41aea48ac9284ad205debb878d633072431f4
-
Winson Chung authored
- The split transitions currently don't handle this case properly when an adjacent task is launched triggering a split task to enter PIP. Fixes: 303755768 Test: Split YT & Gmail, click link from Gmail Test: http://recall/-/g6hkB0pXjyQSvfA8STqRAT/hrdzWmMHFGHJKaSyLxb8yh (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6f1b98014920a36c55aa5110494f4428e038d51f) Merged-In: I390ded4075211c8b5c0d328dcda42d189bee1fa8 Change-Id: I390ded4075211c8b5c0d328dcda42d189bee1fa8
-
Robin Lee authored
Since queued transitions aren't always cleanly chunked the way we'd imagine them to be, we may end up with actual events in the transition info if we happen to be turning screens on/off/foldingat the same time as doing things with the device. In this case, the SLEEP transition would have come first and the actual changes second, so we should assume these are changes that need to be played. Test: atest ShellTransitionTests Bug: 304713150 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ce1a438ce1fb20fbf031e37677013f93f32c2b5a) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b121eda4ec93492a690458770155158705e7ffce) Merged-In: I4bbaa8ad033aaadcb1c0b54889b7c81fb003b001 Change-Id: I4bbaa8ad033aaadcb1c0b54889b7c81fb003b001
-
Fabián Kozynski authored
When they were extracted into a separate method and split by type of check, we lost some behavior that was guaranteed to be prevented by the short-circuiting. This CL makes sure that the checks do not depend on short circuiting by removing side effect methods from the checks. If the checks pass (we can animate) we do one last check that will try to enable fakeDrag. Test: manual Fixes: 297488363 (cherry picked from commit 9bc94e9c) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:77bb4deb7487bf0737b3465b2cdb5a3553c0d10a) Merged-In: Iebda8c9acfbf75a49522887687702b2e8c0158de Change-Id: Iebda8c9acfbf75a49522887687702b2e8c0158de
-