Age | Commit message (Collapse) | Author |
|
sparse-11084887-L36700030000358185 into udc-qpr1-release.
COASTGUARD_SKIP: Id31878f5943ef7095df8d75cfae6297e58360979
COASTGUARD_SKIP: Ia40cfacbee6fc174c90db8e3687838ae01e2858b
Change-Id: I03f767328f3bfc08b09f427a3d3d97a6d11591e3
|
|
into sparse-11084887-L36700030000358185.
SPARSE_CHANGE: Ia40cfacbee6fc174c90db8e3687838ae01e2858b
Change-Id: Id31878f5943ef7095df8d75cfae6297e58360979
|
|
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
|
|
'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
|
|
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
|
|
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
|
|
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 99defbeddf32679a59bc0df48c1d2b82e8b2dd22)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7b3c52a3eeea9a1d895a3bd3a4ff4ef86657f526)
Merged-In: Iedf4d1c988d5afdeb4fad0f354322828c0c3698e
Change-Id: Iedf4d1c988d5afdeb4fad0f354322828c0c3698e
|
|
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
|
|
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 347b8a00c8aad4ce36e0c63e0c4c03b7fc86bb92)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:739281096aba494151f8c953f2d63ec9fd4c7e87)
Merged-In: I14fdac19b4458c6bd2ccee7d1b119bc710e1b600
Change-Id: I14fdac19b4458c6bd2ccee7d1b119bc710e1b600
|
|
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
|
|
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 1fb0fb38ee44552a64962cb0e9e3d0a2cf2464a8)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:012998e4be23975d5cdae6438cdccb19f0ec5105)
Merged-In: Idb9840a5b9f9fdc84516149066cbb2a945c083a7
Change-Id: Idb9840a5b9f9fdc84516149066cbb2a945c083a7
|
|
Bug: 290869686
Test: Manual
(cherry picked from commit 2354d4d1db4a92e0ed17fdccaee4d96826207770)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:151f3a646abbffd271b0787ed8fb9413849ea1e7)
Merged-In: Iad0991724c75c0a63d8a14c313a143a9be660137
Change-Id: Iad0991724c75c0a63d8a14c313a143a9be660137
|
|
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
|
|
* 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 8003d4cb028d484d1d4f11451e5c2620bbf09686)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ed9e0a512bc2b483907c69cc9358411ef9e07be7)
Merged-In: I7892ac1612ab2dccdd81c0bece987aab3ad69194
Change-Id: I7892ac1612ab2dccdd81c0bece987aab3ad69194
|
|
into udc-qpr1-release.
Change-Id: I7ed8760e1cdd21928ac1669ee7539ec8f12432e4
|
|
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
|
|
sparse-11049176-L05200030000080823 into udc-qpr1-release.
COASTGUARD_SKIP: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
COASTGUARD_SKIP: I4a5eb219bc198d2edad0be83f7f69feb317883d1
Change-Id: I31909d74df074deb1d429258c0f6185c965f868f
|
|
into sparse-11049176-L05200030000080823.
SPARSE_CHANGE: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
Change-Id: I4a5eb219bc198d2edad0be83f7f69feb317883d1
|
|
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
|
|
sparse-11044053-L79500030000063296 into udc-qpr1-release.
COASTGUARD_SKIP: I05478bdafa988fdc0c5c4de88adfc7489e3d9e8e
COASTGUARD_SKIP: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
Change-Id: I139d960db650790a618215f268931e19a48350fe
|
|
into sparse-11044053-L79500030000063296.
SPARSE_CHANGE: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
Change-Id: I05478bdafa988fdc0c5c4de88adfc7489e3d9e8e
|
|
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
|
|
sparse-11030841-L28900030000046249 into udc-qpr1-release.
COASTGUARD_SKIP: I7666dcf0c5f86a6a1a912a638dca80ecd7fe2484
COASTGUARD_SKIP: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
Change-Id: I90e70f4cf78ff6c7c572798aa63f210b206509f7
|
|
into sparse-11030841-L28900030000046249.
SPARSE_CHANGE: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
Change-Id: I7666dcf0c5f86a6a1a912a638dca80ecd7fe2484
|
|
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
|
|
into udc-qpr1-release.
Change-Id: Ie64c92ae5bd014932c746f338b601354b72da8e4
|
|
This reverts commit 58e1c93cda4749de5509c2718d82e5558c8c9501.
Reason for revert: b/306964891.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:29d48b546d4118caec3cbce0eee528ad6cb5a6ed)
Merged-In: I09f6c9d3570aed0f94385b46f7103e836693e502
Change-Id: I09f6c9d3570aed0f94385b46f7103e836693e502
|
|
into udc-qpr1-release.
Change-Id: I436592642f8d2bc3bfd3713ef28dc72ce0c24690
|
|
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
|
|
into udc-qpr1-release.
Change-Id: I73f0c9259f8b183c0d5ec7aa73278533d5405d59
|
|
normal ecc call.
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
|
|
sparse-10978663-L86500000963621132 into udc-qpr1-release.
COASTGUARD_SKIP: Id1643b6abc5be162d89c4abe386cfdfaf4a2bae7
COASTGUARD_SKIP: Ieacc78332716aa6628d67ca3227b6995ec7bb49e
COASTGUARD_SKIP: I5093162cbfa632bafe6870c84177952becc82c50
Change-Id: Iebf0afa29a91deb0be8e73eaadc28bdc61e944d4
|
|
'googleplex-android-review.googlesource.com/25106966'] into sparse-10978663-L86500000963621132.
SPARSE_CHANGE: I5093162cbfa632bafe6870c84177952becc82c50
SPARSE_CHANGE: Ieacc78332716aa6628d67ca3227b6995ec7bb49e
Change-Id: Id1643b6abc5be162d89c4abe386cfdfaf4a2bae7
|
|
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
|
|
- 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
|
|
sparse-10971902-L45800000963599846 into udc-qpr1-release.
COASTGUARD_SKIP: I5093162cbfa632bafe6870c84177952becc82c50
COASTGUARD_SKIP: Ieacc78332716aa6628d67ca3227b6995ec7bb49e
COASTGUARD_SKIP: Ib55100ede466eb077c88b2f50ec4db73ff3fab99
Change-Id: I1e751196edcef89380b430385147df8adf29735b
|
|
'googleplex-android-review.googlesource.com/25106966'] into sparse-10971902-L45800000963599846.
SPARSE_CHANGE: I5093162cbfa632bafe6870c84177952becc82c50
SPARSE_CHANGE: Ieacc78332716aa6628d67ca3227b6995ec7bb49e
Change-Id: Ib55100ede466eb077c88b2f50ec4db73ff3fab99
|
|
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
|
|
- 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
|
|
'googleplex-android-review.googlesource.com/25104249'] into udc-qpr1-release.
Change-Id: Ibeb1c29d07194732bf7f2494c3a3e988aa1cb524
|
|
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
|
|
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
|
|
into udc-qpr1-release.
Change-Id: I294620bb34d39443580947141bb917ead11c735c
|
|
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
|
|
'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
|
|
Bug: 210537972
Test: NA
(cherry picked from commit a93b4fdfbe4494ae32c76d4e8c1deae1718d7a0a)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:82e838218f45e0af3365f3b5fe4d6346b8ad7a41)
Merged-In: If2f41aea48ac9284ad205debb878d633072431f4
Change-Id: If2f41aea48ac9284ad205debb878d633072431f4
|
|
- 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
|
|
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
|
|
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 9bc94e9c25cb27432071951dced62aeb8cd761a9)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:77bb4deb7487bf0737b3465b2cdb5a3553c0d10a)
Merged-In: Iebda8c9acfbf75a49522887687702b2e8c0158de
Change-Id: Iebda8c9acfbf75a49522887687702b2e8c0158de
|
|
udc-qpr1-release
Change-Id: I31b2511c7dc7c792c0f5fdfe48217b9db809e122
|