Brandon Dayauon
dba7359d23
Fix custom buttons with translated string
...
The reason why the buttons aren't being updated with the translated string is because the cache the views get the string from is not updated/loaded with the new language.
Rather, the update happens after the view has been inflated. With this change, when the string cache updates in bindStringCache(), we update the UI right then.
bug: 280958663
bug: 288442609
test: Manual
Change-Id: I7a49ee401d5a5f3268cfaef1abee8153e913a8ce
(cherry picked from commit 076dcdfd54 )
2023-06-28 21:49:25 +00:00
Winson Chung
c8a2f9111b
Merge "Workaround for handling the restart of an already visible task" into udc-dev am: 0da5208bb3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23785437
Change-Id: Icd31107e3d5f3e8496bf4ac974a23d49396ee695
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-28 07:07:49 +00:00
Winson Chung
0da5208bb3
Merge "Workaround for handling the restart of an already visible task" into udc-dev
2023-06-28 05:51:59 +00:00
Winson Chung
57c2a79e47
Workaround for handling the restart of an already visible task
...
- If a task is already visible, then startActivity is a no-op and the
remote transition that launcher expects to run is not started. As a
workaround (until restarts are an actual transition), listen for
the case where a task is restarted and invoke the end callbacks
Fixes: 286016555
Test: Repro steps on the bug
Change-Id: Iec3ab97c8817a5e95399cec90f891d65f369d234
2023-06-28 05:51:54 +00:00
Jerry Chang
71fe404fd1
Merge "Prevent exception when quick switching between two split pairs" into udc-dev am: 26d5493e69
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23792388
Change-Id: I26c979ac6002a5eb02a6fdb4bc53d701bc37c699
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-27 18:26:13 +00:00
Jerry Chang
26d5493e69
Merge "Prevent exception when quick switching between two split pairs" into udc-dev
2023-06-27 17:42:42 +00:00
TreeHugger Robot
7733c11623
Merge "Restore strong reference to animation runner" into udc-dev am: 1f3c56af5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23793397
Change-Id: I5faa06a4742cbe4edc6bc3c4819807ac7e99af80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-27 03:04:07 +00:00
TreeHugger Robot
1f3c56af5b
Merge "Restore strong reference to animation runner" into udc-dev
2023-06-27 02:13:00 +00:00
Winson Chung
6cfe2e6cbe
Restore strong reference to animation runner
...
- The remote animation factory needs to be strongly referenced since
the only other reference is a weakly held one from
LauncherAnimationRunner, and if a gc happens in between starting
the animation and the onAnimationStart() callback, then the
animation will not play.
Fixes: 284106887
Test: Force a gc after creating a remote app launch animation and ensure
that the runner still exists when the animation starts
Change-Id: I5f584451b41c666916801b8ea0cb470c7ab9fc51
2023-06-26 23:55:23 +00:00
Holly Jiuyu Sun
926057fd18
Merge "[a11y] Add FLAG_NOT_PINNABLE and modify supportAddToWorkSpace." into udc-d1-dev
2023-06-26 21:56:11 +00:00
Winson Chung
b578dac96e
Merge "Fix NPE due to invalid RecentsView access" into udc-dev am: fa3434fc37
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23810649
Change-Id: I41a3f9b28368bcef0d2dfa5ce9a7f69dca816481
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-26 18:25:09 +00:00
Winson Chung
fa3434fc37
Merge "Fix NPE due to invalid RecentsView access" into udc-dev
2023-06-26 17:47:49 +00:00
Winson Chung
cdf410f134
Fix NPE due to invalid RecentsView access
...
Fixes: 288829919
Test: N/a, reorganizing code behind null check
Change-Id: I9efe48cab239b521f7e729af06706c352be2499c
2023-06-26 17:47:33 +00:00
Holly Sun
c3127d29b2
[a11y] Add FLAG_NOT_PINNABLE and modify supportAddToWorkSpace.
...
// play uninstalled app
Bug: 286998395
Bug: 287156208
Bug: 287157282
// contact
Bug: 287362865
Bug: 287370843
Bug: 287372663
// clock
Bug: 287166186
Bug: 287166771
Bug: 287167527
Test: manual
Flag: N/A
Change-Id: I859deba6218e232a232f009793044ca4be2cab19
2023-06-26 16:52:53 +00:00
Jerry Chang
97eb471f2e
Prevent exception when quick switching between two split pairs
...
When switching in between two split pairs just quick enough, it is
possible to send the second entering split transition while it is
animating the first entering split transition which is merged to a
recents-during-split transition. The split parents might not be
collected into the second transition because the split parents are
already visible at that time, and there is no recents transition to
merge to. So updates to not throwing when there is no split parent when
composing a recents-to-split animation.
Bug: 236226779
Test: repro steps of the bug and the Launcher won't throw
Change-Id: I3a595722721186e8de7d60c9fb8c099ec799804a
2023-06-26 13:49:37 +00:00
TreeHugger Robot
acced493f4
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: d3e37bf03d -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787726
Change-Id: Id52e3fd8661c2777bf38595bb07051eebe12741e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 03:19:51 +00:00
Bill Yi
2b0c123c79
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d6b0605005 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787726
Change-Id: Ibaa2729d9ee47f7c193ad7796f0c2080eb18986f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 03:19:39 +00:00
TreeHugger Robot
d3e37bf03d
Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev
2023-06-24 02:45:00 +00:00
TreeHugger Robot
4e1c5da8d3
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 1e49227a09 -s ours am: b337b2fef6 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787730
Change-Id: I70d2cab6d5ed29df24702159cd26e4d3964fc333
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 00:06:57 +00:00
Bill Yi
ee62a8f179
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c1d2c6e41d -s ours am: 00a238ceb0 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787730
Change-Id: Ie1376769b5710623b37973fb2c84b5858cfae385
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 00:06:43 +00:00
Bill Yi
a11da558ad
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6caeb0e5f5 -s ours am: 6583add9fc -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787728
Change-Id: I54d838e99e6ad048fbb4c3c1ffb82a7a2bdbdd51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 00:05:48 +00:00
TreeHugger Robot
b337b2fef6
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 1e49227a09 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787730
Change-Id: Idc3bb5abf4a48cb9d501c5b6495296bef4c79718
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-23 23:19:49 +00:00
Bill Yi
00a238ceb0
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c1d2c6e41d -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787730
Change-Id: I6c0fd1a46c6cc415a180dad2c616538794bec7f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-23 23:19:37 +00:00
Bill Yi
6583add9fc
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6caeb0e5f5 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787728
Change-Id: I1ab6e78ade900d44281a0e23c8936ef96d88088b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-23 23:18:35 +00:00
TreeHugger Robot
1e49227a09
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev
2023-06-23 22:38:38 +00:00
Treehugger Robot
a24d4be929
Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev
2023-06-23 22:24:59 +00:00
Bill Yi
c1d2c6e41d
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ic5867a070b5329b69a15e878675422b409a12821
2023-06-22 18:54:24 -07:00
Bill Yi
ce13d67113
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I07111f59838d6b5fb4943d41b62a45b73be97eef
2023-06-22 18:54:00 -07:00
Bill Yi
6caeb0e5f5
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Icc9ba586b8b0aa544b73f983a1202cfd211f2ec5
2023-06-22 18:52:35 -07:00
Bill Yi
c11e0346d0
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I88ab2dcc17d2abad96d8dc3d9b38643b667b832c
2023-06-22 18:52:12 -07:00
Bill Yi
d6b0605005
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I5696f163e91f140d9d0c941300098ed82ced9ca5
2023-06-22 18:51:47 -07:00
Jagrut Desai
74f61b1e5b
Merge "Suspend immersive mode autohide while pending transient taskbar timeout" into udc-dev am: 9f566dec6b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23734004
Change-Id: I004376c3977c550ae06ea4a1e950c8b855541868
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-22 18:35:20 +00:00
Jagrut Desai
9f566dec6b
Merge "Suspend immersive mode autohide while pending transient taskbar timeout" into udc-dev
2023-06-22 18:06:23 +00:00
Vinit Nayak
41733594f0
Merge "Add logs to RemoteTargetGluer for index exception" into udc-dev am: 8492177884
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23711381
Change-Id: Ie3a59d1d23e95685f8a1f480aa25af5c07500655
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-21 21:14:45 +00:00
Mateusz Cicheński
f3afddb7a3
Reparent PiP overlay under task as soon as possible am: e338982c97
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23731681
Change-Id: I24898f2d39f085f2a70895a7dd55b55a1c2d040b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-21 21:06:12 +00:00
Vinit Nayak
8492177884
Merge "Add logs to RemoteTargetGluer for index exception" into udc-dev
2023-06-21 20:37:53 +00:00
Mateusz Cicheński
e338982c97
Reparent PiP overlay under task as soon as possible
...
For enter PiP animations started from Launcher, we send the signal to
WMShell to reparent the overlay under task as soon as possible.
This avoids flicker issue caused by race condition of cleaning up the
transition leash before the reparenting was done, which made the issue
of overlay being not attached to anything for few frames.
Bug: 281711939
Test: winscope trace from comment#28, leash follows task
Test: after http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/ewrarENSYYOmUCa0b3fdtp
Change-Id: Ia16afd49a94d9ba8456287c2cdffb2a84e5a2bc7
Merged-In: Ia16afd49a94d9ba8456287c2cdffb2a84e5a2bc7
2023-06-21 16:51:36 +00:00
Winson Chung
5c03116eb3
Merge "Restore specific colors for floating rotation button" into udc-dev am: d827387ffd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23755143
Change-Id: I8d21b03dfec3522d92d6e4b728de76ad99e01371
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-21 16:47:23 +00:00
Winson Chung
d827387ffd
Merge "Restore specific colors for floating rotation button" into udc-dev
2023-06-21 16:06:19 +00:00
Treehugger Robot
143e612bc4
Merge "Add detailed exception for snappedIndex == -1 when dismissing tasks" into udc-dev am: dcbe9583fb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23535540
Change-Id: Id446aaa7fa907aaa4376b9d442f5bbc78a44298c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-21 11:47:17 +00:00
Treehugger Robot
dcbe9583fb
Merge "Add detailed exception for snappedIndex == -1 when dismissing tasks" into udc-dev
2023-06-21 11:00:20 +00:00
Treehugger Robot
707af99414
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: a842561c1b -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23756720
Change-Id: I71eb5e99e646ee80a14174f037b64563f1b782cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-21 06:37:22 +00:00
Bill Yi
370cb7e9b7
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6d701913d9 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23756720
Change-Id: I44e9219050451508f83d26fb5ce4e9f9bb1ecab8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-21 06:37:12 +00:00
Bill Yi
f794c1f5bd
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5204db1fa2 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23756719
Change-Id: I92d07bf78b3038c57c0f67b9862cd6300a519a4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-21 06:36:54 +00:00
Treehugger Robot
a842561c1b
Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev
2023-06-21 06:19:35 +00:00
Bill Yi
6d701913d9
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ida888864c2129b6f52b8e3e850d982a40b0e2a33
2023-06-20 20:24:01 -07:00
Bill Yi
5204db1fa2
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I5b7ded4d11a74593e2cfa3ddc54e564523c7546d
2023-06-20 20:23:19 -07:00
Winson Chung
c27a43ba30
Restore specific colors for floating rotation button
...
- The rotation button background does not change based on the current
light/dark mode
Bug: 288126260
Test: Check rotation button color with dark mode enabled/disabled
Change-Id: If4d5edfd4b118e4f16b6d472f206587e7cd61f98
2023-06-20 22:45:25 +00:00
Alex Chau
8f19421a87
Add detailed exception for snappedIndex == -1 when dismissing tasks
...
Bug: 269956477
Test: manual
Change-Id: Ia95a3b2ffe5c677af34183639ba8a2742626c340
2023-06-20 19:04:55 +01:00
Treehugger Robot
a824567e34
Merge "Add a hint to align changes between taskbar and divider bar" into udc-dev am: 2095736367
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23726783
Change-Id: I7efbc18a67ab746ef57d18caba76cb3e4c8f17b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-19 05:54:17 +00:00