summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-22Merge cherrypicks of ['googleplex-android-review.googlesource.com/26024128', ↵android-14.0.0_r37android-14.0.0_r36android-14.0.0_r35android-14.0.0_r34android-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android14-qpr2-s5-releaseandroid14-qpr2-s4-releaseandroid14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-releaseAndroid Build Coastguard Worker
'googleplex-android-review.googlesource.com/26101488'] into 24Q1-release. Change-Id: I74be43df7b722691e0807c385e6a867a28ddb9ff
2024-02-22Gate SideFpsOverlayViewBinder and DeviceEntrySideFpsOverlayInteractor on ↵Grace Cheng
device having SFPS Add SFPS check to SideFpsOverlayViewBinder start() method and DeviceEntrySideFpsOverlayInteractor init() method Flag: NONE Fixes: 316606073 Test: atest SideFpsOverlayViewBinderTest Test: atest DeviceEntrySideFpsOverlayInteractorTest (cherry picked from commit fafbef1a604e9cc30ca129716d504dd29813bfcb) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:15305a73731b7540d0ac3a925fc990954b26827a) Merged-In: Id46fb9e849608c2e6ab7cffb52dcb6b35dd84298 Change-Id: Id46fb9e849608c2e6ab7cffb52dcb6b35dd84298
2024-02-22Return correct resultAchim Thesmann
When we find an exemption for another process of the caller app's UID we need to return that exemption and not the verdict for the caller app. Test: manual test / atest BackgroundActivityLaunchTest Bug: 320758929 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8ed0c0d1dd06d52900ed910a9d1270e406add282) Merged-In: I838e6d1bd4c1a1b25e206af15075c04eedf93e51 Change-Id: I838e6d1bd4c1a1b25e206af15075c04eedf93e51
2024-02-21Merge cherrypicks of ['googleplex-android-review.googlesource.com/25753314', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/25791015', 'googleplex-android-review.googlesource.com/25704204', 'googleplex-android-review.googlesource.com/25939141', 'googleplex-android-review.googlesource.com/25851459'] into 24Q1-release. Change-Id: Ib6ba7a1407c3bcbac7fc1598c0948daa437dbb3b
2024-02-21Fix security vulnerability that creates user with no restrictions when ↵Tetiana Meronyk
accountOptions are too long. Bug: 293602970 Test: atest UserManagerTest#testAddUserAccountData_validStringValuesAreSaved_validBundleIsSaved && atest UserManagerTest#testAddUserAccountData_invalidStringValuesAreTruncated_invalidBundleIsDropped (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7e91582908475af43ff188d9d7e97aea2cdf8ee2) Merged-In: I23c971f671546ac085060add89485cfac6691ca3 Change-Id: I23c971f671546ac085060add89485cfac6691ca3
2024-02-21isUserInLockDown can be true when there are other strong authBeverly
requirements Fixes: 315206668 Flag: None Test: manual, atest LockPatternUtilsTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d341f1ecdb011d24b17358f115391b3f997cb179) Merged-In: I5e979a7822dd7254b4579ab28ecf96df1db44179 Change-Id: I5e979a7822dd7254b4579ab28ecf96df1db44179
2024-02-21Added limitations for attributions to handle invalid casesKiran Ramachandra
Bug: 304983146 Test: Modified and introduced new tests to verify change -> atest CtsAppOpsTestCases:AttributionTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ed1b87a33bcf66976b05b81090734da8dff9db3f) Merged-In: Iaaee30990bf3b4feaa734eff10409cc9501265e7 Change-Id: Iaaee30990bf3b4feaa734eff10409cc9501265e7
2024-02-21Stop marking apps as privileged if they are not signed properly.Alex Buynytskyy
Fixes: 311374917 Test: atest android.content.pm.cts.PackageManagerTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3ee5dfdcba047051ce81dca0696d6ddfeafe2d98) Merged-In: I5b5b81cf43b06837a22c8dfd170a112106dd64c1 Change-Id: I5b5b81cf43b06837a22c8dfd170a112106dd64c1
2024-02-21Don't store invalid pkgs when migrating filtersJulia Reynolds
Test: NotificationManagerServiceTest Test: call method from test app, view policy xml file Flag: none Bug: 305926929 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bfa04e208995b05eee2a5336667f4e2dcd19fd30) Merged-In: Ib7fcb733edd2cf2cbac0a7699763a5fe993b467e Change-Id: Ib7fcb733edd2cf2cbac0a7699763a5fe993b467e
2024-02-06Merge cherrypicks of ['googleplex-android-review.googlesource.com/25867558', ↵android-14.0.0_r29android14-qpr2-s1-releaseAndroid Build Coastguard Worker
'googleplex-android-review.googlesource.com/26119187'] into 24Q1-release. Change-Id: I7a37e8ade7423184af4ba3bc7aadbe414353d6dd
2024-02-06Revert "Deprecate setRemoteAdapter that takes service intent"Sihua Ma
This reverts commit 3cca6996a46b212d37295d46d824e32cf968124d. Reason for revert: Delay @Deprecated annotation (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:511e868a723c4322d1b4c66ea92ef91ddfdcdc91) Merged-In: Id009fd46ccbf7ad9336d6edab8e835f4e4065d08 Change-Id: Id009fd46ccbf7ad9336d6edab8e835f4e4065d08
2024-02-06Revert "Deprecate notifyAppWidgetViewDataChanged"Sihua Ma
This reverts commit e61404814947b611c68853050a4a22aeebe728bc. Reason for revert: Delay @Deprecated annotation (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9bed3e0364c87c75f80d7f356ec89122a2396744) Merged-In: I6714a25a77e54eaac3f0953e58298385650bd55e Change-Id: I6714a25a77e54eaac3f0953e58298385650bd55e
2024-01-30Merge cherrypicks of ['googleplex-android-review.googlesource.com/26054366'] ↵Android Build Coastguard Worker
into 24Q1-release. Change-Id: I21c831aff8b603d912aaad78e862059dbe7fad38
2024-01-30Flag getSdkSandboxApplicationInfoForInstrumentationSandro Montanari
The API is not present in the mainline prebuilts on U. Because of the missing API, we are getting runtime failures on next targets. Bug: 315018061 Test: m & flashall (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:72edc443924ed2e68bd265e9aaea5ef20027fdd1) Merged-In: I3cbfb164ab88ba0285434e9b82d7994a91d3d019 Change-Id: I3cbfb164ab88ba0285434e9b82d7994a91d3d019
2024-01-30Merge cherrypicks of ['googleplex-android-review.googlesource.com/26056322'] ↵Android Build Coastguard Worker
into 24Q1-release. Change-Id: I5529a3a8b6c4174061445e25b2f2391c41afe790
2024-01-30Revert "Flag getSdkSandboxApplicationInfoForInstrumentation"Ankur Bakshi
This reverts commit 36e325522dc0524cf7ad9079d50fc2732abb75bb. Reason for revert: Need to revert as CL ag/26012856|b/315018061 caused Build to fail (RED) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:37ffb26acb83deae9ad218e942679979caaca36e) Merged-In: I5005abd121e603dc037690b988871af2351ae199 Change-Id: I5005abd121e603dc037690b988871af2351ae199
2024-01-29Merge cherrypicks of ['googleplex-android-review.googlesource.com/26012856'] ↵Android Build Coastguard Worker
into 24Q1-release. Change-Id: Ieda3ad565d97dfbd2da0438907b280e60cc48162
2024-01-29Flag getSdkSandboxApplicationInfoForInstrumentationSandro Montanari
The API is not present in the mainline prebuilts on U. Because of the missing API, we are getting runtime failures on next targets. Bug: 315018061 Test: m & flashall (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:61b8f80e3630353593b7d79648792438e987f4f0) Merged-In: I3cbfb164ab88ba0285434e9b82d7994a91d3d019 Change-Id: I3cbfb164ab88ba0285434e9b82d7994a91d3d019
2024-01-27Merge cherrypicks of ['googleplex-android-review.googlesource.com/25718466', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/26028024'] into 24Q1-release. Change-Id: I849d6e876e7de8f98109fe3506a92df8050a5ea2
2024-01-27Revert "Pass the correct user ID to SetProcessProfilesCached()"Lokesh Kumar Goel
This reverts commit 27db51c4a5bfc9571ad77a3d5a2a5d2fab664c12. Reason for revert: New patch available which replaces this change. Bug: 313578691 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e1c4dbc802b103b1a8585cdea74de41eb33cb3ac) Merged-In: Iff5a50df0dc36428b8509f9f972137f69b932766 Change-Id: Iff5a50df0dc36428b8509f9f972137f69b932766
2024-01-27Ignoring user touch feedback settings for keyguard udfps authentication.Juan Sebastian Martinez
The FLAG_IGONRE_GLOBAL_SETTING will ensure that confirm and reject haptics always play when the user succeeds or fails to authenticate. Test: manual: Turn off Touch Feedback on Settings > Sound & Vibration > Vibration & haptics. Verified that haptics play on successful and failed authetication. Bug: 316645639 Flag: NONE (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2d33e18e39f068698ad982f3293aea53d864443e) Merged-In: I844e628bc58c4b08459dcc2218396e5d9721ef87 Change-Id: I844e628bc58c4b08459dcc2218396e5d9721ef87
2024-01-26[coastguard skipped] Merge sparse cherrypicks from ↵Android Build Coastguard Worker
sparse-11363197-L23500030001623370 into 24Q1-release. COASTGUARD_SKIP: Ib03c1915807057b4f67c3602da82c16e2f3689e3 COASTGUARD_SKIP: Iff5a50df0dc36428b8509f9f972137f69b932766 Change-Id: I661956a4c6267f3280bc4c4fb3bc67f479567190
2024-01-26Merge cherrypicks of ['googleplex-android-review.googlesource.com/26028024'] ↵Android Build Coastguard Worker
into sparse-11363197-L23500030001623370. SPARSE_CHANGE: Iff5a50df0dc36428b8509f9f972137f69b932766 Change-Id: Ib03c1915807057b4f67c3602da82c16e2f3689e3
2024-01-26Revert "Pass the correct user ID to SetProcessProfilesCached()"Lokesh Kumar Goel
This reverts commit 27db51c4a5bfc9571ad77a3d5a2a5d2fab664c12. Reason for revert: New patch available which replaces this change. Bug: 313578691 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e1c4dbc802b103b1a8585cdea74de41eb33cb3ac) Merged-In: Iff5a50df0dc36428b8509f9f972137f69b932766 Change-Id: Iff5a50df0dc36428b8509f9f972137f69b932766
2024-01-26Merge cherrypicks of ['android-review.googlesource.com/2918502'] into ↵Android Build Coastguard Worker
24Q1-release. Change-Id: I439fb6fde294e3a351efd758c854c4cad550104c
2024-01-26Pass the correct user ID to SetProcessProfilesCached()Bart Van Assche
SetProcessProfilesCached() can only set cgroup attributes in the v2 cgroup hierarchy if it is passed the correct user ID. Hence this CL. This CL makes SetProcessProfilesCached() apply IO controller cgroup attributes for processes with a user ID that is not zero. Bug: 320456702 Bug: 213617178 Signed-off-by: Bart Van Assche <bvanassche@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:a615a850ee820848b2d464973855148e55c8c92f) Merged-In: I84d072c14ff01422560c241a69cb9f4e02c47e74 Change-Id: I84d072c14ff01422560c241a69cb9f4e02c47e74
2024-01-24[coastguard skipped] Merge sparse cherrypicks from ↵Android Build Coastguard Worker
sparse-11348124-L64500030001487463 into 24Q1-release. COASTGUARD_SKIP: I84d072c14ff01422560c241a69cb9f4e02c47e74 COASTGUARD_SKIP: I5a19080e67ec9323cf31da29c279b4e9f97f790c Change-Id: I801648a0bbfaf7efd6ca7eeb925bcfb86821921e
2024-01-24Merge cherrypicks of ['googleplex-android-review.googlesource.com/25969349'] ↵Android Build Coastguard Worker
into sparse-11348124-L64500030001487463. SPARSE_CHANGE: I84d072c14ff01422560c241a69cb9f4e02c47e74 Change-Id: I5a19080e67ec9323cf31da29c279b4e9f97f790c
2024-01-24Pass the correct user ID to SetProcessProfilesCached()Bart Van Assche
SetProcessProfilesCached() can only set cgroup attributes in the v2 cgroup hierarchy if it is passed the correct user ID. Hence this CL. This CL makes SetProcessProfilesCached() apply IO controller cgroup attributes for processes with a user ID that is not zero. Bug: 320456702 Bug: 213617178 Signed-off-by: Bart Van Assche <bvanassche@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:16c09591abe1f982887b05d89e264f69316f383d) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:046510b52692a1967050803c28b1bf7d2b61351f) Merged-In: I84d072c14ff01422560c241a69cb9f4e02c47e74 Change-Id: I84d072c14ff01422560c241a69cb9f4e02c47e74
2024-01-23[coastguard skipped] Merge sparse cherrypicks from ↵Android Build Coastguard Worker
sparse-11348124-L11800030001521844 into 24Q1-release. COASTGUARD_SKIP: I6dc70ed111372739bb783cc4d7a0209c27e5ff2b COASTGUARD_SKIP: I84d072c14ff01422560c241a69cb9f4e02c47e74 Change-Id: I07c6af80ef22a6fcd2f5976947c4de27e5a23243
2024-01-23Merge cherrypicks of ['googleplex-android-review.googlesource.com/25969349'] ↵Android Build Coastguard Worker
into sparse-11348124-L11800030001521844. SPARSE_CHANGE: I84d072c14ff01422560c241a69cb9f4e02c47e74 Change-Id: I6dc70ed111372739bb783cc4d7a0209c27e5ff2b
2024-01-23Pass the correct user ID to SetProcessProfilesCached()Bart Van Assche
SetProcessProfilesCached() can only set cgroup attributes in the v2 cgroup hierarchy if it is passed the correct user ID. Hence this CL. This CL makes SetProcessProfilesCached() apply IO controller cgroup attributes for processes with a user ID that is not zero. Bug: 320456702 Bug: 213617178 Signed-off-by: Bart Van Assche <bvanassche@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:16c09591abe1f982887b05d89e264f69316f383d) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:046510b52692a1967050803c28b1bf7d2b61351f) Merged-In: I84d072c14ff01422560c241a69cb9f4e02c47e74 Change-Id: I84d072c14ff01422560c241a69cb9f4e02c47e74
2024-01-22[coastguard skipped] Merge sparse cherrypicks from ↵Android Build Coastguard Worker
sparse-11335772-L45600030001479295 into 24Q1-release. COASTGUARD_SKIP: I84d072c14ff01422560c241a69cb9f4e02c47e74 COASTGUARD_SKIP: I02b4851ae46c2fbcc4ac8a8a7fd2533445ea7041 Change-Id: Ic0b63c5f435fd484cf44210dd8fb532f4103a4ff
2024-01-22Merge cherrypicks of ['googleplex-android-review.googlesource.com/25969349'] ↵Android Build Coastguard Worker
into sparse-11335772-L45600030001479295. SPARSE_CHANGE: I84d072c14ff01422560c241a69cb9f4e02c47e74 Change-Id: I02b4851ae46c2fbcc4ac8a8a7fd2533445ea7041
2024-01-22Pass the correct user ID to SetProcessProfilesCached()Bart Van Assche
SetProcessProfilesCached() can only set cgroup attributes in the v2 cgroup hierarchy if it is passed the correct user ID. Hence this CL. This CL makes SetProcessProfilesCached() apply IO controller cgroup attributes for processes with a user ID that is not zero. Bug: 320456702 Bug: 213617178 Signed-off-by: Bart Van Assche <bvanassche@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:16c09591abe1f982887b05d89e264f69316f383d) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:046510b52692a1967050803c28b1bf7d2b61351f) Merged-In: I84d072c14ff01422560c241a69cb9f4e02c47e74 Change-Id: I84d072c14ff01422560c241a69cb9f4e02c47e74
2024-01-17Merge cherrypicks of ['googleplex-android-review.googlesource.com/25707031', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/25557600', 'googleplex-android-review.googlesource.com/25877020'] into 24Q1-release. Change-Id: I2168921f396b71e3be5bdb45f72ce22a3965e3da
2024-01-17Work around the flicker on enter PiP for foldablesHongwei Wang
This is work around for b/311084698 We use to rely on the mIsInStateChange flag to avoid resetting the surface of PiP task, it's broken recently. The windowing mode check here is not ideal but it should be safe to ignore any resetting from UnfoldAnimationController for a Task that's already pinned. Before: http://recall/-/aaaaaabFQoRHlzixHdtY/ahJ6dpKl1ajsaReCX70Wb After: http://recall/-/aaaaaabFQoRHlzixHdtY/cc0H4jAt0KxqzFxzkfVjk7 Flag: NONE Bug: 311084698 Test: Manually following the reproduce steps in bug (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0e6c31448829cadffecc66aaebc2210d134d240b) Merged-In: I5f60b2da8eaf948145ca61fb21433f5640f1feeb Change-Id: I5f60b2da8eaf948145ca61fb21433f5640f1feeb
2024-01-17Always sync user restriction state to UserManagerJonathan Scott
On certain Android 14 builds, global restrictions set by the DPC can errornously go into UserManager's local restriction store, resulting in a bad state where they cannot be unset in future. Fix this by always force syncing user restrictions from the policy engine to the UserManager when a restriction is being set or cleared by the DPC. The force sync ensures that both local and global restriction states of UserManager are consistent with policy engine, for the restriction that is being updated. Ran through the following manual tests: 1. (DO) Start with A14 bad build, set global restrictions -> OTA to this fix -> try clearing policy 2. (DO) Start with A14 bad build, set global restrictions -> reboot device -> OTA to this fix -> try clearing policy 3. (DO) A13 with local & global restrictions set -> OTA to A14 bad build -> set same restrictions again -> OTA to this fix -> try clearing policy 4. (DO) A13 with local & global restrictions set -> OTA to A14 bad build -> reboot device -> set same restrictions again -> OTA to this fix -> try clearing policy 5. (DO) A13 with local & global restrictions set -> OTA to A14 bad build -> OTA to this fix -> try clearing policy 6. (DO) A13 with local & global restrictions set -> OTA to A14 bad build -> reboot device -> OTA to this fix -> try clearing policy 7. (DO) A13 with local & global restrictions set -> OTA to this fix -> try clearing policy 8. (BYOD PO) A13 with global restrictions set -> OTA to A14 bad build -> reboot device -> OTA to this fix -> try clearing policy Case 1 & 2: fresh A14 setup Case 3 & 4: OTA'ed devices with workaround applied Case 5 & 6: OTA'ed devices without workaround applied Case 7: directly OTA'ed to build with fix Case 8: same as case 5 & 6 but on a BYOD PO device Bug: 311687929 Bug: 299302474 Test: btest a.d.c.PolicyEngineTest Test: atest android.devicepolicy.cts.UserRestrictionsTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5394ddbee5dd88a35e2a9a8508dc260395895ac1) Merged-In: I4d700bc42ec114d1c0fc86f230f7f7612819195c Change-Id: I4d700bc42ec114d1c0fc86f230f7f7612819195c
2024-01-17Disallow system apps to be installed/updated as instant.Alex Buynytskyy
Bug: 299441833 Test: atest android.content.pm.cts.PackageManagerTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:496e78a1951f2ed69290f03c5625c0f8382f4d31) Merged-In: Idd89a6dd72f0e68259095f677185f0494391025c Change-Id: Idd89a6dd72f0e68259095f677185f0494391025c
2024-01-12Merge cherrypicks of ['googleplex-android-review.googlesource.com/25802051', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/25863142'] into 24Q1-release. Change-Id: I5c94d96bd6598e941e4fddf2aa3fd335e58cc47d
2024-01-12Add default shortcut for tracing Skia's GPU memory usageNolan Scobie
Bug: 319164766 Test: comparing traces with debug.hwui.skia_tracing_enabled on and off (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1083707b02d70e0ae09d1e31cf50fc7cc294987e) Merged-In: Ie24e3b4705380ef143699f229469226df7b4913a Change-Id: Ie24e3b4705380ef143699f229469226df7b4913a
2024-01-12Fix the grid artifacts in simplex noiseYein Jo
Skew grid artifacts were shown due to the recent GPU driver update that may have changed some floating point computation. Making the hash function integer based to mitigate floating point precision issue. Skewed grid can be only shown if the hash function produces different gradient vectors in the same simplex vertex. Since the hash function produces "discontinuous" random values, a small difference in the input could cause a huge difference in the output. This is why it's more robust to use integer based hash. Bug: 315533269 Flag: NA Test: Visually inspect (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:47ab14aa59ecdf013e5e87573a164114f8503d61) Merged-In: I4bdc69a7dd8e6c3919a7c0594bebf37b83fd946a Change-Id: I4bdc69a7dd8e6c3919a7c0594bebf37b83fd946a
2024-01-11Merge cherrypicks of ['googleplex-android-review.googlesource.com/25779963', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/25834515', 'googleplex-android-review.googlesource.com/25812532', 'googleplex-android-review.googlesource.com/25832083'] into 24Q1-release. Change-Id: Idce83e9705cd4836e9fd9828eab98e135e3da4a8
2024-01-11Add old lockAnimationClock(long) backShane
Add old lockAnimationClock(long) back because of a CTS tests failure issue. Might be related to Trunk Stable, The CL is created to resolve the inconsistency between git_main/git_24Q1-release and aosp/android14-tests-dev. For more details, see - https://buganizer.corp.google.com/issues/307888459#comment57 Bug: 307888459 Test: atest AnimationUtilsTest / ChoreographerTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:36bef4019e597d4dd169bfadea3f5c7974ee6c5d) Merged-In: Ie7a1f898651d2da040ffaa3f6a0c833b2a8ca2e0 Change-Id: Ie7a1f898651d2da040ffaa3f6a0c833b2a8ca2e0
2024-01-11Make ControlsActivity translucentRobin Lee
This has the (for now) desirable side-effect of preventing animations when opening/closing. Being a frame around TaskView the normal close animations don't work for this Activity. Once the Activity isn't a TaskView (b/293338460) this can be reverted. Bug: 312649396 Bug: 293338460 Test: Manual - open/close over home and lockscreen (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:67b8fa60df8a5a58973167fff7ac2bddbb8995b7) Merged-In: Iad2efcb727b97c923a4608e5fae9ad722cc412f8 Change-Id: Iad2efcb727b97c923a4608e5fae9ad722cc412f8
2024-01-11Default divider interaction to true if transition doesn't succeedVinit Nayak
* Currently we disable interactions at the beginning of a resize transition and then re-enable on success * When the fold/unfold happens, the transition to resize gets clobbered/consumed by another transition, so the success callback for re-enabling never runs * Prior to ag/25604240 this was never an issue since we unconditionally enabled divider interaction Fixes: 318759451 Test: Repro steps don't leave divider uninteractable Flag: None (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e5db0b17f07a05e36ce7ac31a990a67b902fff40) Merged-In: I6af18c8175ea3ec7070bda03ebc8fb9c08f78c17 Change-Id: I6af18c8175ea3ec7070bda03ebc8fb9c08f78c17
2024-01-11Use launcher app bounds to reset PiP icon overlayIkram Gabiyev
Use PipTaskOrganizer#stopSwipePipToHome() to cache the app bounds by launcher in Shell's PiP component. These can later be used to properly calculate the overlay size to reset its scale and offset properly in PipTransition#onFinishResize(). This makes sure the icon overlay is properly set for cases such as fixed rotation and swipe to PiP with pinned taskbar. Also make sure the app bounds are correct for button navigation enter pip flow by setting them in PipTransition#startEnterAnimation(). Recording following repro steps with this fix applied: http://recall/-/da2uuq57YtQRpR4N9NryZR The bug report contains recording for before this fix. Bug: 316993346 Test: manually enter PiP w/ fixed rotation at 90 and 270 deg Test: manually enter PiP w/ pinned task bar on large screens (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b8041b1b95d1663b6f7801f1b92ef7ec67ebada5) Merged-In: Iff392b6c8d6a3268e13e05d7cc0107218255e400 Change-Id: Iff392b6c8d6a3268e13e05d7cc0107218255e400
2024-01-09Merge cherrypicks of ['googleplex-android-review.googlesource.com/25829021', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/25829022', 'googleplex-android-review.googlesource.com/25829023', 'googleplex-android-review.googlesource.com/25829024', 'googleplex-android-review.googlesource.com/25829500', 'googleplex-android-review.googlesource.com/25829501', 'googleplex-android-review.googlesource.com/25829502', 'googleplex-android-review.googlesource.com/25829503', 'googleplex-android-review.googlesource.com/25829504', 'googleplex-android-review.googlesource.com/25829505', 'googleplex-android-review.googlesource.com/25830514', 'googleplex-android-review.googlesource.com/25830842'] into 24Q1-release. Change-Id: Iea3cdd3bf03fc32458ed4e55504a4b84db643a46
2024-01-09Import translations. DO NOT MERGE ANYWHEREBill Yi
BUG:314175455 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e9a763b5c57fe895064dc6180d5528922bc4da3d) Merged-In: I03c2147f36bd6329948243c1c8ff98adbd6726f9 Change-Id: I03c2147f36bd6329948243c1c8ff98adbd6726f9
2024-01-09Import translations. DO NOT MERGE ANYWHEREBill Yi
BUG:314175455 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:27ea53303da026157e26d0d75fb15e796fd6f70d) Merged-In: I01620cbf78ad75b38010b836a6d57c2a0f6fc41c Change-Id: I01620cbf78ad75b38010b836a6d57c2a0f6fc41c