- Jan 17, 2024
-
-
Hongwei Wang authored
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
-
Jonathan Scott authored
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
-
Alex Buynytskyy authored
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
-
- Jan 12, 2024
-
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25802051', 'googleplex-android-review.googlesource.com/25863142'] into 24Q1-release. Change-Id: I5c94d96bd6598e941e4fddf2aa3fd335e58cc47d
-
Nolan Scobie authored
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
-
Yein Jo authored
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
-
- Jan 11, 2024
-
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25779963', 'googleplex-android-review.googlesource.com/25834515', 'googleplex-android-review.googlesource.com/25812532', 'googleplex-android-review.googlesource.com/25832083'] into 24Q1-release. Change-Id: Idce83e9705cd4836e9fd9828eab98e135e3da4a8
-
Shane authored
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
-
Robin Lee authored
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
-
Vinit Nayak authored
* 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
-
Ikram Gabiyev authored
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
-
- Jan 09, 2024
-
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25829021', '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
-
Bill Yi authored
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
-
Bill Yi authored
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
-
Bill Yi authored
BUG:314175455 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b6f1cdbf47df62bdd0e09509191a165c5c6931ee) Merged-In: I778c97945873b1b1e8fc3d4d47ba5ae294c07abf Change-Id: I778c97945873b1b1e8fc3d4d47ba5ae294c07abf
-
Bill Yi authored
BUG:314175455 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bd1014cf92d43370f426e4849ddd70da46febc3a) Merged-In: I0d8f212f58d0648cd0f17d396c42d8d0463ca6d2 Change-Id: I0d8f212f58d0648cd0f17d396c42d8d0463ca6d2
-
Bill Yi authored
BUG:314175455 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1df2d5b22cad2d7b5d191989f5a1a0e66e81177d) Merged-In: I265a2aafbc49a69fa2a87f0afd32c8713e5cdbf8 Change-Id: I265a2aafbc49a69fa2a87f0afd32c8713e5cdbf8
-
Bill Yi authored
BUG:314175455 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:88f82fd2c35c331e777d49d9b4d8fcbbec570d5c) Merged-In: Ib80d2600e2fc26d2f988a2b84def3b8fec98d518 Change-Id: Ib80d2600e2fc26d2f988a2b84def3b8fec98d518
-
Bill Yi authored
BUG:314175455 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:999a93bdad61089f5285dfd0ac4e6f5b2685c5fe) Merged-In: I9ff588e2592adcac93c2a2e7ede8be121e456180 Change-Id: I9ff588e2592adcac93c2a2e7ede8be121e456180
-
Bill Yi authored
BUG:314175455 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e7e48a8589bf63c78775384634686aa7d1a24abf) Merged-In: I6bbb6775f89f3ce01494452f3405c54be0615a83 Change-Id: I6bbb6775f89f3ce01494452f3405c54be0615a83
-
Bill Yi authored
BUG:314175455 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d6963676c240c6273028eceda493fd21df081917) Merged-In: Ia896cfc506f3433519458a1e02eff6969515de12 Change-Id: Ia896cfc506f3433519458a1e02eff6969515de12
-
Bill Yi authored
BUG:314175455 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3d0e0bf167eb38e3d81fdd0756ed4c6d8fa15d2b) Merged-In: If09206d9da537d326d37020fa80b584156e0778f Change-Id: If09206d9da537d326d37020fa80b584156e0778f
-
Bill Yi authored
BUG:314175455 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5e43db424fd7ed344c1aaa9ed29d12b4e97a5c81) Merged-In: Id764fe7a875e165a38647ff5b646e8c0fa2db68f Change-Id: Id764fe7a875e165a38647ff5b646e8c0fa2db68f
-
Bill Yi authored
BUG:314175455 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fe3ea8f3c3f2822fdd79a2d3050c3678b9033ad8) Merged-In: If5a8c79ce23ccf93921e4b3ef79d5bbdd4f18853 Change-Id: If5a8c79ce23ccf93921e4b3ef79d5bbdd4f18853
-
- Jan 08, 2024
-
-
Android Build Coastguard Worker authored
Change-Id: Ie0db542ef9c7915ad34042179b5edf2b8999e399
-
Winson Chung authored
- This is a regression from ag/25618079, that change only affects the hide transition for an existing taskview so adding this check does not affect that behavior. Bug: 317330143 Test: atest WMShellUnitTests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:884f3c384b9936c49ebf6c69644a67f9ae8e5c44) Merged-In: If1146c6023329b40b22fe78e0f7521534f9f62f3 Change-Id: If1146c6023329b40b22fe78e0f7521534f9f62f3
-
- Jan 05, 2024
-
-
Android Build Coastguard Worker authored
Change-Id: Iab6b47ab05763d822825a530efbd03b487859b6d
-
Jordan Demeulenaere authored
Bug: 317317814 Test: Manual, changed display size settings and observed that the footer actions had a correct size. Flag: N/A (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:33fbe715bf2f8513f67175286852c17f83c295e6) Merged-In: Ide89df32fd3b69dc0eb02ce6a0f9e354457c26d5 Change-Id: Ide89df32fd3b69dc0eb02ce6a0f9e354457c26d5
-
- Jan 04, 2024
-
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25499074', 'googleplex-android-review.googlesource.com/25512794', 'googleplex-android-review.googlesource.com/25804966'] into 24Q1-release. Change-Id: I73c082dd383cd0f8d36174b37939dd6eb2e8d59d
-
Alisher Alikhodjaev authored
Bug: 317293523 Test: manual (cherry picked from https://android-review.googlesource.com/q/commit:b1b0f47341fb8fd95b292975e0a1faf58eb42018) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:68f5c8c6cba8c0e01768e345c72cf54cbad28b76) Merged-In: Ief04be69ad420f55b139033bf59467c62e6bc975 Change-Id: Ief04be69ad420f55b139033bf59467c62e6bc975
-
chelseahao authored
Test: atest -c com.android.systemui.qs.tiles.dialog.bluetooth Bug: b/310135234 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5aa29b9bc9219de00d576bd97a0a446c620f339e) Merged-In: Ib471f3105b22b0bf9544e305f700f3d1540d3b67 Change-Id: Ib471f3105b22b0bf9544e305f700f3d1540d3b67
-
chelseahao authored
Test: manual Bug: b/310135234 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5a820f87d6b70bb7a04d69c8953064d26552df58) Merged-In: I88869fff6b27addb3b8dca1b0f61c10c7bc18a70 Change-Id: I88869fff6b27addb3b8dca1b0f61c10c7bc18a70
-
- Dec 29, 2023
-
-
Android Build Coastguard Worker authored
Change-Id: Ife8b3d657ec4db0e6f734353b13aaea2a0b54065
-
Jerry Shi authored
Bug: 317445993 Test: unit Test (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7663410341f784b096593227cf9a7312ac0fb73e) Merged-In: I7e229455ea54f4f6a152884f981f008f06d8ddf6 Change-Id: I7e229455ea54f4f6a152884f981f008f06d8ddf6
-
- Dec 28, 2023
-
-
Android Build Coastguard Worker authored
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25642237', 'googleplex-android-review.googlesource.com/25714889', 'googleplex-android-review.googlesource.com/25715089'] into 24Q1-release. Change-Id: I4bd88ecdde0dce33b4e240d6cdc1a4ba2bac8a23
-
Matt Pietal authored
Was causing an ever growing list of continuations to pile up. Fixes: 317222006 Test: observe heap dump Flag: NONE (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0628a807282bda9261155a2fbf8b4f5cc6343bcc) Merged-In: I03b2d0cdc3297ba3b147fd6024e58d7650ba4bc5 Change-Id: I03b2d0cdc3297ba3b147fd6024e58d7650ba4bc5
-
Evan Laird authored
MobileConnectionsRepositoryImpl#subscriptionModelForSubId was creating a StateFlow for each subscription that it returned. This is an incorrect usage since that `stateIn` call starts a new job to collect from the underlying flow, and it is never canceled until the scope is canceled. The scope being used is the @Application scope, so it's effectively never canceled. It seems that this was not a load bearing StateFlow, so this CL just removes the `stateIn` call to fix that issue. Test: tests in statusbar/pipeline/mobile Bug: 317205264 Flag: NONE (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f9027a5955112c1162be3da5bff66d6fefcae3f2) Merged-In: I82ddc7576e2b8d45574be6f0c3f0176da9457bb9 Change-Id: I82ddc7576e2b8d45574be6f0c3f0176da9457bb9
-
Tetiana Meronyk authored
Revert submission 25262217-fix_mu_for_cope Reason for revert: This issue requires a different approach to the solution. Reverted changes: /q/submissionid:25262217-fix_mu_for_cope (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dc85914ab2050586512b7867bfc27816ddb025c8) Merged-In: Ic16676a15278b944ab2a3a6535032c37e5ece624 Change-Id: Ic16676a15278b944ab2a3a6535032c37e5ece624
-
- Dec 27, 2023
-
-
Android Build Coastguard Worker authored
Change-Id: I9dca3ae53d26dba0a2138d12423160da2f48c1ea
-
Julia Tuttle authored
ag/24426105 changed BigPictureStyle so that whichever of EXTRA_PICTURE or EXTRA_PICTURE_ICON wasn't set to the big picture would be *removed* instead of set to null. This was an app-visible behavior change, and turned out to break one of our own tests, b/315128763. Since it has the potential to affect apps that interact with notifications, I'm modifying it to preserve the old null value behavior, while leaving the other bitmap expiration work in that change alone. Bug: 290381858 Bug: 315128763 Test: atest NotificationTest Test: atest NotificationManagerServiceTest Flag: NA (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:297baf11fc11c065f9661efc3dd253c0c332c803) Merged-In: Ifef48da0ba6c0314dffef9ac04e5018bfb85b91b Change-Id: Ifef48da0ba6c0314dffef9ac04e5018bfb85b91b
-