summaryrefslogtreecommitdiff
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Zero-initialize CursorWindow bufferLee Shombert2025-10-071-1/+1
| | | | | | | | | | | | | | | | | | Zero-initialize mData in CursorWindow::create(). The caller might not fully fill that buffer before sending it to the remote end. It is not necessary to zero-initialize in CursorWindow::createFromParcel(), since the buffer is immediately filled from the far end. Flag: EXEMPT bug-fix Bug: 309407957 Test: atest * libandroidfw_tests * FrameworksCoreTests:android.database * CtsDatabaseTestCases (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9dc64621d896d05fcb0e6f45792a307fde130823) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5d82d11c8b55e3bbb9056cdc235c3b86921ec854) Merged-In: I755240b0e3ba185c01036a5e00c8785d2e1ac11a Change-Id: I755240b0e3ba185c01036a5e00c8785d2e1ac11a
* Disallow loading icon from content URI to PipMenuHongwei Wang2023-10-071-7/+14
| | | | | | | | Bug: 278246904 Test: manually, with the PoC app attached to the bug (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1aee65603e262affd815fa53dcc5416c605e4037) Merged-In: Ib3f5b8b6b9ce644fdf1173548d9078e4d969ae2e Change-Id: Ib3f5b8b6b9ce644fdf1173548d9078e4d969ae2e
* Merge tag 'android-13.0.0_r72' of ↵George Zacharia2023-08-094-27/+26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 Release 72 (TQ3C.230805.001.A3) * tag 'android-13.0.0_r72' of https://android.googlesource.com/platform/frameworks/base: Keyguard: use transition state for syncing occlude [RESTRICT AUTOMERGE] Report folding features to letterboxed apps. Send update config change when letterbox is moved Cancel current animation instead of candidate Merge "Resolve StatusHints image exploit across user." into sc-v2-dev am: e371b3018f Remove unnecessary padding code Use Settings.System.getIntForUser instead of getInt to make sure user specific settings are used DO NOT MERGE Verify URI permissions in MediaMetadata Visit URIs in themed remoteviews icons. Check URIs in sized remote views. Fix PrivacyChip not visible issue Update Pip launches to not enter pinned task if in background. Validate ComponentName for MediaButtonBroadcastReceiver Implement visitUris for RemoteViews ViewGroupActionAdd. Check URIs in notification public version. Preserve flags for non-runtime permissions upon package update. On device lockdown, always show the keyguard Ensure policy has no absurdly long strings Verify URI permissions for notification shortcutIcon. Do not load drawable for wallet card if the card image icon iscreated with content URI. ActivityManagerService: Allow openContentUri from vendor/system/product. Cancel current animation instead of candidate Report folding features to letterboxed apps. Send update config change when letterbox is moved Cancel current animation instead of candidate Cancel current animation instead of candidate Cancel current animation instead of candidate Cancel current animation instead of candidate Visit URIs in landscape/portrait custom remote views. [RESTRICT AUTOMERGE] Prevent installing apps in policy restricted work profile using ADB Verify URI permissions for EXTRA_REMOTE_INPUT_HISTORY_ITEMS. [1-time permissions] Use internal api to check proc states Watch uid proc state instead of importance for 1-time permissions Truncate ShortcutInfo Id Dismiss keyguard when simpin auth'd and... Only allow NEW_TASK flag when adjusting pending intents Grant URI permissions to the CallStyle-related ones Revert "Ensure that only SysUI can override pending intent launch flags" Ensure that only SysUI can override pending intent launch flags Revert "Improve first opaque activity candidate detection" Revert "Improve first opaque activity candidate detection" Revert "Improve first opaque activity candidate detection" Disable emoji compat initializer Disable emoji compat initializer Improve first opaque activity candidate detection Invalidate buffers on transform change Skip letterboxing if the activity below is embedded Unfreeze the surface when the transition is done Make sure to reset isFoldHandled Set corner radius to 0 when casting Refresh layout parameter for bounds change from relayout DO NOT SUBMIT: Don't ever show the build number. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:252407fd77fcb126834be02233b799b230ee2c6e) Merged-In: I28e35f8686a66b6eb76f3a09a163c6873ca23ba0 Change-Id: I28e35f8686a66b6eb76f3a09a163c6873ca23ba0 Set corner radius to 0 when casting Refresh layout parameter for bounds change from relayout DO NOT SUBMIT: Don't ever show the build number. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:252407fd77fcb126834be02233b799b230ee2c6e) Merged-In: I28e35f8686a66b6eb76f3a09a163c6873ca23ba0 Change-Id: I28e35f8686a66b6eb76f3a09a163c6873ca23ba0 Make sure to reset isFoldHandled Set corner radius to 0 when casting Refresh layout parameter for bounds change from relayout [RESTRICT AUTOMERGE] Always set last report configuration for starting window. Fix deadlock in BaseDataProducer. Set corner radius to 0 when casting Refresh layout parameter for bounds change from relayout Fixes foldable autorotation setting being out of sync in QS and Settings Fix split cannot active if app trampoline launch new task Update the timing of clearing SplitRequest Prevents activity being stopped while folding/unfolding device Gates RotationResolverService with a config flag Also reverse rotation for #freezeRotation path Don't show home controls complication if not available. Fixes foldable autorotation setting being out of sync in QS and Settings Fix split cannot active if app trampoline launch new task Update the timing of clearing SplitRequest Prevents activity being stopped while folding/unfolding device Gates RotationResolverService with a config flag Also reverse rotation for #freezeRotation path Update the disabled-opa navbar icon size to reflect icon change Restrict maximum size of FontInterpolator font caches Fix KeyguardSecurityContainerControllerTest Rename orientation request loop property Fixes flicker of not applying initial transform to leash Reset NSSL translationY after a transision gets cancelled AudioService: fix volume group setting name Make sure to clear outdated screenshot of splitting tasks Make sure to clear outdated screenshot of splitting tasks DO NOT MERGE Revert "Accept a Window as shown if it's in any transition" Fix home controls showing on low light dream DO NOT MERGE Fix crash related to getting the root of an unattached view Revert "Remove pip resize flicks" DO NOT MERGE Change-Id: I76f0d5e6c39a7066e44366571b6836ee4bf594f5
| * Report folding features to letterboxed apps.Diego Vela2023-06-161-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Folding features were filtered out from letterboxed apps because we assumed that letterboxed apps did not want to optimize. We have found apps do want to support folding features but may also request fixed orientation for their experience. We are removing the filter so that letterboxed apps will get folding feature information. Bug: 262900133 Test: Manual - open the samples and check if folding features report. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3e428597423552cd806a9658c763ed3f7ffcbc2c) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:58855b37c9ba3cdf6e4885fd1ece41ffb4626a03) Merged-In: I427f0bc23f00d245c5093c75f13c9e533209362e Change-Id: I427f0bc23f00d245c5093c75f13c9e533209362e
| * Remove unnecessary padding codeLee Shombert2023-06-163-9/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 213170822 Remove the code that CursorWindow::writeToParcel() uses to ensure slot data is 4-byte aligned. Because mAllocOffset and mSlotsOffset are already 4-byte aligned, the alignment step here is unnecessary. CursorWindow::spaceInUse() returns the total space used. The tests verify that the total space used is always a multiple of 4 bytes. Test: atest * libandroidfw_tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5d4afa0986cbc440f458b4b8db05fd176ef3e6d2) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c7e1590ea236576e5ae2ed1e1bcc14756c3363f2) Merged-In: I720699093d5c5a584283e5b76851938f449ffa21 Change-Id: I720699093d5c5a584283e5b76851938f449ffa21
| * Invalidate buffers on transform changeJohn Reck2023-05-102-0/+13
| | | | | | | | | | | | | | | | | | Fixes: 271419600 Test: repro steps on bug (cherry picked from commit 61c64472417a272ec2aa2fd38e0d1874dbf16319) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5545b1cc36fd47bb33d87875b451f9f5c870d8bf) Merged-In: Ib4eef40a0f59512c669b069532e55d36293f9e1c Change-Id: Ib4eef40a0f59512c669b069532e55d36293f9e1c
| * Fix deadlock in BaseDataProducer.Diego Vela2023-05-033-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move calls to abstract method outside the synchronized block. When they are in the synchronized block it can cause a deadlock in the following way. If two classes have locks and they interact through callbacks the aquiring the locks can have a mixed order. The mixed order causes a deadlock. Bug: 276436535 Test: Run foldable samples. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e214c94a8aa3a386c41eb0238a68ce5b00129b57) Merged-In: Ie71ec56e7ba43976fee3e69f74ff386c79c96a7a Change-Id: Ie71ec56e7ba43976fee3e69f74ff386c79c96a7a
| * Fix split cannot active if app trampoline launch new taskTony Huang2023-04-284-54/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2a47e6a6ed4d5fdc812e9c1ce3f60b5ff226f31c and commit 76ab53a384b16fbf07ffd4c11952ef687bd9bcc3. Both CL cause regression which lead to users cannot active split by some apps use trampoline launch new task on launcher icon. So fix it by revert both CLs. Other changes are also for fixing this case. There is a timing issue and we cannot ensure the old trampoline still remain under split root when we get remote animation callback. Fix it by only checking any children tasks are under split root or not. Bug: 278172065 Test: manual Test: pass existing tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6e29d4ddb8ab2cb9b66539c0b9bc3e15efe8b885) Merged-In: Ibd6d9a8377e4b5327a473f8b9adf4e569e826172 Change-Id: Ibd6d9a8377e4b5327a473f8b9adf4e569e826172
| * Update the timing of clearing SplitRequestTony Huang2023-04-281-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We clean splitRequest after enter split and use it as a flag to do some function such as active split by child adjacent task if split invisible. However, in some cases, such as a task start another new task and finish it immediately. In this case, split active finished and split request reset but split still didn't invisible and new child task appeared, and it trigger function mentioned above then cause bug. To avoid such case, we should update the timing of clearing SplitRequest to cover trampoline tasks launch so it won't evict child tasks unexpectedly while entering split. Fix: 277556204 Test: manual Test: pass existing tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7ae38cb0c1c6d1da6b2c45e6b809199ca8900235) Merged-In: Ib3240c0b5037a3a20692c83e2daa8cd858125ca7 Change-Id: Ib3240c0b5037a3a20692c83e2daa8cd858125ca7
| * Make sure to clear outdated screenshot of splitting tasksTony Huang2023-04-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Make sure to clear the screenshot of splitting tasks if it's taking the new one or being dismissed from split. Bug: 272420717 Bug: 278134600 Test: pass existing tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e4ec07516eb1b824e25d57088963984d2175e5d7) Merged-In: Ia159deccc8f0024143200e4dd44fadf67974a198 Change-Id: Ia159deccc8f0024143200e4dd44fadf67974a198
| * Revert "Remove pip resize flicks" DO NOT MERGEMateusz Cicheński2023-04-163-45/+4
| | | | | | | | | | | | | | | | | | This reverts commit a0253fb49309d4d249055ff459048a69a188be32. Reason for revert: The original CL introduced regressions on QPR3 http://b/276806110 and http://b/277677631, and the bug it fixed was present in prior releases e.g. TQ2A.230405.002 (9662652). This will be fixed for U, hence the "do not merge" at the top of revert. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ce1ef55f1a4934e16faf5b3ac4ec0b1ea4924324) Merged-In: I4abd2c5b66d837b73f210a85b62ca65bb6aa1f77 Change-Id: I4abd2c5b66d837b73f210a85b62ca65bb6aa1f77
* | Merge tag 'android-13.0.0_r71' of ↵George Zacharia2023-08-096-57/+45
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 Release 71 (TQ3A.230805.001.B1) * tag 'android-13.0.0_r71' of https://android.googlesource.com/platform/frameworks/base: Fix weather complication disappearing after timer pause DO NOT MERGE Hide EmptyShadeView when on bouncer DO NOT MERGE Adding tests for updated EmptyShadeView logic USB: update logic for reporting playback and capture capability of USB devices. Remove ControlsProviderSelectorActivity finish on ControlsFavoritingActivity start Prevent force showing system bars for TaskView Improve first opaque activity candidate detection Invalidate buffers on transform change Skip letterboxing if the activity below is embedded Unfreeze the surface when the transition is done [RESTRICT AUTOMERGE] Always set last report configuration for starting window. Fix split cannot active if app trampoline launch new task Update the timing of clearing SplitRequest Gates RotationResolverService with a config flag Change-Id: Ief3bf540e89f59ee0a480d028be0c61371d8cbd2
| * | Invalidate buffers on transform changeJohn Reck2023-06-142-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: 271419600 Test: repro steps on bug (cherry picked from commit 61c64472417a272ec2aa2fd38e0d1874dbf16319) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5545b1cc36fd47bb33d87875b451f9f5c870d8bf) Merged-In: Ib4eef40a0f59512c669b069532e55d36293f9e1c Change-Id: Ib4eef40a0f59512c669b069532e55d36293f9e1c
| * | Fix split cannot active if app trampoline launch new taskTony Huang2023-06-144-54/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2a47e6a6ed4d5fdc812e9c1ce3f60b5ff226f31c and commit 76ab53a384b16fbf07ffd4c11952ef687bd9bcc3. Both CL cause regression which lead to users cannot active split by some apps use trampoline launch new task on launcher icon. So fix it by revert both CLs. Other changes are also for fixing this case. There is a timing issue and we cannot ensure the old trampoline still remain under split root when we get remote animation callback. Fix it by only checking any children tasks are under split root or not. Bug: 278172065 Test: manual Test: pass existing tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6e29d4ddb8ab2cb9b66539c0b9bc3e15efe8b885) Merged-In: Ibd6d9a8377e4b5327a473f8b9adf4e569e826172 Change-Id: Ibd6d9a8377e4b5327a473f8b9adf4e569e826172
| * | Update the timing of clearing SplitRequestTony Huang2023-06-141-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We clean splitRequest after enter split and use it as a flag to do some function such as active split by child adjacent task if split invisible. However, in some cases, such as a task start another new task and finish it immediately. In this case, split active finished and split request reset but split still didn't invisible and new child task appeared, and it trigger function mentioned above then cause bug. To avoid such case, we should update the timing of clearing SplitRequest to cover trampoline tasks launch so it won't evict child tasks unexpectedly while entering split. Fix: 277556204 Test: manual Test: pass existing tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7ae38cb0c1c6d1da6b2c45e6b809199ca8900235) Merged-In: Ib3240c0b5037a3a20692c83e2daa8cd858125ca7 Change-Id: Ib3240c0b5037a3a20692c83e2daa8cd858125ca7
* | | Merge tag 'android-13.0.0_r67' of ↵George Zacharia2023-08-099-54/+92
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 Release 67 (TQ3A.230805.001) * tag 'android-13.0.0_r67' of https://android.googlesource.com/platform/frameworks/base: Merge "Resolve StatusHints image exploit across user." into sc-v2-dev am: e371b3018f Remove unnecessary padding code Use Settings.System.getIntForUser instead of getInt to make sure user specific settings are used DO NOT MERGE Verify URI permissions in MediaMetadata Visit URIs in themed remoteviews icons. Check URIs in sized remote views. Fix PrivacyChip not visible issue Update Pip launches to not enter pinned task if in background. Validate ComponentName for MediaButtonBroadcastReceiver Implement visitUris for RemoteViews ViewGroupActionAdd. Check URIs in notification public version. Preserve flags for non-runtime permissions upon package update. On device lockdown, always show the keyguard Ensure policy has no absurdly long strings Verify URI permissions for notification shortcutIcon. Do not load drawable for wallet card if the card image icon iscreated with content URI. ActivityManagerService: Allow openContentUri from vendor/system/product. Change-Id: Ice3533cb5ebf4868cc9aa0500568b899293872ab
| * | Remove unnecessary padding codeLee Shombert2023-06-143-9/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 213170822 Remove the code that CursorWindow::writeToParcel() uses to ensure slot data is 4-byte aligned. Because mAllocOffset and mSlotsOffset are already 4-byte aligned, the alignment step here is unnecessary. CursorWindow::spaceInUse() returns the total space used. The tests verify that the total space used is always a multiple of 4 bytes. Test: atest * libandroidfw_tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5d4afa0986cbc440f458b4b8db05fd176ef3e6d2) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c7e1590ea236576e5ae2ed1e1bcc14756c3363f2) Merged-In: I720699093d5c5a584283e5b76851938f449ffa21 Change-Id: I720699093d5c5a584283e5b76851938f449ffa21
* | | Merge tag 'android-13.0.0_r63' of ↵George Zacharia2023-08-026-57/+45
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0-r52 Android 13.0.0 release 63 Change-Id: I89d2c7a713cd97f805f07f604090a6d779117575
| * | | Invalidate buffers on transform changeJohn Reck2023-05-272-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: 271419600 Test: repro steps on bug (cherry picked from commit 61c64472417a272ec2aa2fd38e0d1874dbf16319) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5545b1cc36fd47bb33d87875b451f9f5c870d8bf) Merged-In: Ib4eef40a0f59512c669b069532e55d36293f9e1c Change-Id: Ib4eef40a0f59512c669b069532e55d36293f9e1c
| * | | Fix split cannot active if app trampoline launch new taskTony Huang2023-05-274-54/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2a47e6a6ed4d5fdc812e9c1ce3f60b5ff226f31c and commit 76ab53a384b16fbf07ffd4c11952ef687bd9bcc3. Both CL cause regression which lead to users cannot active split by some apps use trampoline launch new task on launcher icon. So fix it by revert both CLs. Other changes are also for fixing this case. There is a timing issue and we cannot ensure the old trampoline still remain under split root when we get remote animation callback. Fix it by only checking any children tasks are under split root or not. Bug: 278172065 Test: manual Test: pass existing tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6e29d4ddb8ab2cb9b66539c0b9bc3e15efe8b885) Merged-In: Ibd6d9a8377e4b5327a473f8b9adf4e569e826172 Change-Id: Ibd6d9a8377e4b5327a473f8b9adf4e569e826172
| * | | Update the timing of clearing SplitRequestTony Huang2023-05-271-3/+13
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We clean splitRequest after enter split and use it as a flag to do some function such as active split by child adjacent task if split invisible. However, in some cases, such as a task start another new task and finish it immediately. In this case, split active finished and split request reset but split still didn't invisible and new child task appeared, and it trigger function mentioned above then cause bug. To avoid such case, we should update the timing of clearing SplitRequest to cover trampoline tasks launch so it won't evict child tasks unexpectedly while entering split. Fix: 277556204 Test: manual Test: pass existing tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7ae38cb0c1c6d1da6b2c45e6b809199ca8900235) Merged-In: Ib3240c0b5037a3a20692c83e2daa8cd858125ca7 Change-Id: Ib3240c0b5037a3a20692c83e2daa8cd858125ca7
* | | Merge tag 'android-13.0.0_r52' of ↵George Zacharia2023-08-02294-1909/+11057
|\| | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 Release 52 (TQ3A.230605.012) Change-Id: Ic80f318636f1f70bbd009504352ddde511d0dead
| * | Make sure to clear outdated screenshot of splitting tasksTony Huang2023-04-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure to clear the screenshot of splitting tasks if it's taking the new one or being dismissed from split. Bug: 272420717 Bug: 278134600 Test: pass existing tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e4ec07516eb1b824e25d57088963984d2175e5d7) Merged-In: Ia159deccc8f0024143200e4dd44fadf67974a198 Change-Id: Ia159deccc8f0024143200e4dd44fadf67974a198
| * | Revert "Remove pip resize flicks" DO NOT MERGEMateusz Cicheński2023-04-143-45/+4
| |/ | | | | | | | | | | | | | | | | This reverts commit a0253fb49309d4d249055ff459048a69a188be32. Reason for revert: The original CL introduced regressions on QPR3 http://b/276806110 and http://b/277677631, and the bug it fixed was present in prior releases e.g. TQ2A.230405.002 (9662652). This will be fixed for U, hence the "do not merge" at the top of revert. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ce1ef55f1a4934e16faf5b3ac4ec0b1ea4924324) Merged-In: I4abd2c5b66d837b73f210a85b62ca65bb6aa1f77 Change-Id: I4abd2c5b66d837b73f210a85b62ca65bb6aa1f77
| * Merge "Fix launch single task case if it under split roots" into tm-qpr-devTony Huang2023-04-101-0/+4
| |\
| | * Fix launch single task case if it under split rootsTony Huang2023-04-061-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Launcher might launch single task through split, but in some flow that task might still under split roots and cause it abnormal. We should exit split first in such case. Fix: 269375890 Test: manual Test: pass existing tests Change-Id: I713dc87a17478633db976bee656f7bb107e6e4f0
| * | Import translations. DO NOT MERGE ANYWHEREBill Yi2023-04-0582-166/+84
| | | | | | | | | | | | | | | Auto-generated-cl: translation import Change-Id: I46db71d37189fbf2f10ad8875b905fab40217139
| * | Merge "Force Kids app to use sensorLandscape when in reverseLandscape" into ↵Massimo Carli2023-04-051-2/+6
| |\ \ | | | | | | | | | | | | tm-qpr-dev
| | * | Force Kids app to use sensorLandscape when in reverseLandscapeMassimo Carli2023-04-051-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A few apps in Kids Space request "reverseLandscape" orientation when Display#getRotation returns ROTATION_270 expecting it to correspond to the seascape display orientation while it may correspond to the landscape one when config_reverseDefaultRotation is set to true. This CL overrides the "reverseLandscape" and "landscape" orientation with "sensorLandscape" in the context of apps running in the Kids space when config_reverseDefaultRotation is set to true Fixes: 265589619 Test: Run `atest WmTests:WindowManagerServiceTests` Run `atest WMShellUnitTests:KidsModeTaskOrganizerTest` Run `atest WmTests:LetterboxUiControllerTest` Change-Id: Iadfb840199df9b308df699a9ca18ac5332c2536f
| * | | Merge "Validate aspect ratio on PiP params change." into tm-qpr-devMateusz Cicheński2023-04-052-2/+11
| |\ \ \
| | * | | Validate aspect ratio on PiP params change.Mateusz Cicheński2023-04-042-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the params do not provide the aspect ratio we will return 0f, which impacts further computations on e.g. pinch resize gesture. Bug: 276455406 Test: manually modify ApiDemos to not provide aspect ratio, enter PiP and verify that aspect ratio is set to default value instead of 0 Change-Id: Ie734a4e35ccbccdad5a2bee0f0e1bd507dcc1025
| * | | | Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-devTreeHugger Robot2023-04-0485-85/+168
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | Import translations. DO NOT MERGE ANYWHEREBill Yi2023-04-0385-85/+168
| | |/ / | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Change-Id: Ic3da122923de600b8de892a7a25b8bd78e11e337
| * / / CompatUI UX ImprovementsMassimo Carli2023-04-0413-1609/+232
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL does the following UX improvements: - Increase fading animation duration to 400ms - Implement a logic for horizontal and vertical education indipendently which displays icons when in center position only once and every time user double-taps for a not-central position. - Remove the circles animation Bug: 275054578 Test: atest WMShellUnitTests:ReachabilityEduLayoutTest atest WMShellUnitTests:LetterboxEduWindowManagerTest atest WMShellUnitTests:ReachabilityEduWindowManagerTest Change-Id: I55cd13c83f43a8a31725e6f6493504bc3ab4e62e
| * | Update double-tap education labelMassimo Carli2023-04-031-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Put the double-tap education label on two lines Bug: 275054578 Test: Manual Change-Id: I17411b0310b672eb48e029c9e32c5a62c69bcfeb
| * | Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-devTreeHugger Robot2023-04-021-1/+1
| |\ \
| | * | Import translations. DO NOT MERGE ANYWHEREBill Yi2023-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Change-Id: I1d49dc0ceed33bcfd8901bbf8e525a2a2f7bb51d
| * | | Import translations. DO NOT MERGE ANYWHEREBill Yi2023-03-3145-88/+46
| |/ / | | | | | | | | | | | | Auto-generated-cl: translation import Change-Id: I31e113f71f6cb930389730dea881925134effb7f
| * | Merge "Remove pip resize flicks" into tm-qpr-devIkram Gabiyev2023-03-313-4/+45
| |\ \
| | * | Remove pip resize flicksIkram Gabiyev2023-03-313-4/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove flicks after quickly user-resizing pip by making sure touches are not enabled while final window updates are ongoing. Bug: 274682042 Test: manually reproduce the steps in the bug Change-Id: I506cb3197ac2cd10a3906c9466c90278e8cc59f5
| * | | Merge "Fix NPE when using hinge split type without FoldingFeature" into ↵TreeHugger Robot2023-03-312-28/+69
| |\ \ \ | | | | | | | | | | | | | | | tm-qpr-dev
| | * | | Fix NPE when using hinge split type without FoldingFeatureCharles Chen2023-03-302-28/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this CL, we only compute SplitType in getRelBounds. However, we actually obtain the bounds to check minimum dimensions in #computeSplitAttributes. This CL moves the splitType calculation to #getPrimaryBounds and #getSecondaryBounds to cover the minimum dimensions to fix NPE. Test: atest SplitPresenterTest Bug: 263565586 fixes: 275714114 Merged-In: Ibb826c25f072cdffd5b5adcd19571fe446d64f51 Change-Id: Ibb826c25f072cdffd5b5adcd19571fe446d64f51
| * | | | Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-devTreeHugger Robot2023-03-2985-0/+127
| |\ \ \ \
| | * | | | Import translations. DO NOT MERGE ANYWHEREBill Yi2023-03-2885-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Change-Id: Ib1449d2b623a976b4bda8f532f9ba127ca49a0fa
| * | | | | Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-devTreeHugger Robot2023-03-291-1/+1
| |\ \ \ \ \
| | * | | | | Import translations. DO NOT MERGE ANYWHEREBill Yi2023-03-281-1/+1
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Change-Id: I05b732113f86ad3c06b9e6a79677d0f1f571e344
| * | | | | Merge "Do not throw exception on task vanished" into tm-qpr-devTony Huang2023-03-292-9/+0
| |\ \ \ \ \ | | |_|/ / / | |/| | | |
| | * | | | Do not throw exception on task vanishedTony Huang2023-03-292-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Becasue ag/22162082 make children task info might remove on task info changed, it might cause we throw exception on task vanished due to the children task remove from list early. We should remove it. Fix: 275022724 Test: manual Test: pass existing tests Change-Id: I92f034564d89fef4cf9af4172d64db7630adee42
| * | | | | Merge "DO NOT MERGE Partial revert of lowlight animations" into tm-qpr-devLucas Silva2023-03-292-23/+3
| |\ \ \ \ \ | | |_|/ / / | |/| | | |
| | * | | | DO NOT MERGE Partial revert of lowlight animationsLucas Silva2023-03-282-23/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change partially reverts http://ag/21456149, as if the lowlight state changes quickly while the animation is running, the device may end up being stuck in a lowlight state. Bug: 274024126 Test: atest LowLightDreamManagerTest Change-Id: Ibb326b30a920cef312b08dd43defa8f9ff9de07d