Commit Graph

6612 Commits

Author SHA1 Message Date
Sam Dubey
4c5e83206c Merge "Revert "Fix IME not shown from recents to split-screen task"" 2022-11-28 08:19:05 +00:00
Timothy Wang
0728069542 Revert "Fix IME not shown from recents to split-screen task"
This reverts commit a210826fe5.

Reason for revert: DroidMonitor: Potential culprit for Bug b/260534444 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Id88fe6e3a4f9eea08aa812feaae92067be40950f
2022-11-28 05:50:07 +00:00
Wilson Wu
c9d48ffda4 Merge "Fix IME not shown from recents to split-screen task" 2022-11-28 02:46:44 +00:00
Pablo Gamito
071357b6c9 Merge "Capture secure layers for edge extension" into tm-qpr-dev am: 96c4978054 am: 550d8e68eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20554935

Change-Id: I9b45d884a9513a57fda0e448585adc01242eac2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-25 17:47:22 +00:00
Pablo Gamito
550d8e68eb Merge "Capture secure layers for edge extension" into tm-qpr-dev am: 96c4978054
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20554935

Change-Id: I4e4f93376506dedc5ca2fc279a2361a38bec8560
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-25 17:17:38 +00:00
Bill Yi
de0eb2f39b Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-11-24 18:42:24 +00:00
Pablo Gamito
61ecd95ad3 Capture secure layers for edge extension
Test: Using test app provided in the bug to make sure issue doesn't repo
Bug: 255298799
Change-Id: Ic5c7b30379a145e01482d0a705fc6ded7afb2137
2022-11-24 15:27:37 +00:00
TreeHugger Robot
9fd8a787e7 Merge "Fix enter/exit horizontal ActivityEmbedding split with legacy transition" into tm-qpr-dev am: 5a31efbff4 am: fd988c4f8b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20540706

Change-Id: I0a88d54ed9fbc897d06798a532a47e4ea9280429
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-24 04:16:11 +00:00
TreeHugger Robot
fd988c4f8b Merge "Fix enter/exit horizontal ActivityEmbedding split with legacy transition" into tm-qpr-dev am: 5a31efbff4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20540706

Change-Id: Ia90870082579ea05404bbaa9afd869d3b4e89df6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-24 03:09:40 +00:00
TreeHugger Robot
5a31efbff4 Merge "Fix enter/exit horizontal ActivityEmbedding split with legacy transition" into tm-qpr-dev 2022-11-24 02:39:23 +00:00
Wilson Wu
a210826fe5 Fix IME not shown from recents to split-screen task
DislplayImeController only update the ImeSurfaceControl
for a non-null control. So it still keep a stale control
even the control has lost.

The ImeSurfaceControl should be updated to avoid using a
stale control to start animation.

Bug: 258814082
Test: Manual test with bug steps
Test: atest DisplayImeControllerTest
Change-Id: Id7ac6de6a9e8e5f0e620254c39d104272175b3a1
2022-11-23 20:42:42 +08:00
Chris Li
57e9c36b72 Fix enter/exit horizontal ActivityEmbedding split with legacy transition
For animation spec, before, we only consider animation to/from
left/right. Now, we also check top/bottom.

Bug: 241043533
Test: Verify with launching activity into horizontal split.
Change-Id: Ia7b56105de167a13ada064fe7daf8f1dbae6aa34
2022-11-23 13:14:11 +08:00
Bill Yi
fd11f0752c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4925e50ee904318470ef2dec6bce6b7f37f457fa
2022-11-22 18:20:28 -08:00
Bill Yi
d65f0ecc29 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie33b47e33a392053108b944d995803bd6f0296cc
2022-11-22 18:18:57 -08:00
Chris Li
7cb36f4236 Merge "Fix enter/exit horizontal ActivityEmbedding split with Shell transition" into tm-qpr-dev am: 4013b5600d am: 517bb18718
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20505728

Change-Id: I9e36297b4f3687efbcfc0de2be34d4b6b8fbf140
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 04:30:28 +00:00
Chris Li
517bb18718 Merge "Fix enter/exit horizontal ActivityEmbedding split with Shell transition" into tm-qpr-dev am: 4013b5600d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20505728

Change-Id: I47186d15111d7ea14218e6ba197db9e9e9b201dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 04:21:49 +00:00
Chris Li
4013b5600d Merge "Fix enter/exit horizontal ActivityEmbedding split with Shell transition" into tm-qpr-dev 2022-11-22 03:55:41 +00:00
Jerry Chang
05b75b05ed Merge "Show a toast message for apps not supporting multiple instances split" into tm-qpr-dev am: 26fb39d2ba am: 18e4f3a6ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20481325

Change-Id: I6eae80ca0275d2784869b80a35caa669f5a1097f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-21 17:34:51 +00:00
Jerry Chang
18e4f3a6ce Merge "Show a toast message for apps not supporting multiple instances split" into tm-qpr-dev am: 26fb39d2ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20481325

Change-Id: I745edf06a95a73b92b331b41202608228fa79605
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-21 17:01:50 +00:00
Chilun Huang
55522d5b12 Merge "Cancel divider dragging if IME showing" into tm-qpr-dev am: 90f48266bb am: 32257b1d87
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20516286

Change-Id: I21396c20a36dbcb8c27ec5d841d263cbb56ff84d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-21 16:42:03 +00:00
Jerry Chang
26fb39d2ba Merge "Show a toast message for apps not supporting multiple instances split" into tm-qpr-dev 2022-11-21 16:39:25 +00:00
Chilun Huang
32257b1d87 Merge "Cancel divider dragging if IME showing" into tm-qpr-dev am: 90f48266bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20516286

Change-Id: I0d23a16651ed619ac98d8869c98418a789c624ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-21 16:33:15 +00:00
Chilun Huang
90f48266bb Merge "Cancel divider dragging if IME showing" into tm-qpr-dev 2022-11-21 15:58:53 +00:00
Chilun Huang
ab6ce5741b Merge "Move stable tests to presubmit" 2022-11-19 07:14:02 +00:00
Matt Sziklay
43550d92a4 Merge "Enable interacting with caption through status bar." into tm-qpr-dev am: d1aa46cea9 am: 8401d17449
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20407068

Change-Id: I34355362977c930ea4f5fc717a59579efbe40993
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-18 19:25:04 +00:00
Matt Sziklay
8401d17449 Merge "Enable interacting with caption through status bar." into tm-qpr-dev am: d1aa46cea9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20407068

Change-Id: Ia87119ac800b7ed008706de9ba5620760e7029af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-18 18:45:15 +00:00
Bill Yi
8345421c44 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-11-18 18:23:36 +00:00
Bill Yi
90ce4e156d Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-11-18 18:23:36 +00:00
Matt Sziklay
d1aa46cea9 Merge "Enable interacting with caption through status bar." into tm-qpr-dev 2022-11-18 18:22:42 +00:00
Chilun Huang
406911324b Cancel divider dragging if IME showing
Cancel divider dragging if IME showing to avoid abnormal state.

Bug: 256180001
Test: atest WMShellUnitTests
Change-Id: I184f3275a326ba5abe965f50217f07e27ee2f527
2022-11-18 10:14:41 +00:00
Chilun Huang
09484b811f Move stable tests to presubmit
Move stable tests of EnterSplitScreenByDragFromShortcut and
SwitchBetweenSplitPairs to presubmit.

Bug: 247997619
Bug: 247095572
Test: atest WMShellFlickerTests
Change-Id: Ia88cacc6e315033ef30960fe6514b36c8fd3aac5
2022-11-18 17:06:14 +08:00
Chris Li
60040ea71f Fix enter/exit horizontal ActivityEmbedding split with Shell transition
1. For animation spec, before, we only consider animation to/from
   left/right. Now, we also check top/bottom.
2. For animation adapter, before, we always use the window end bounds,
   which may be empty when closing a window that is also resizing during
   the transition. Now, for closing window, we use the start bounds
   instead.

Bug: 241043533
Test: Verify with launching activity into horizontal split.
Test: Verify with switching between split and stack.
Change-Id: I4fddcb2327d05e90b0c12605490fa7d7aa987fa0
2022-11-18 14:46:09 +08:00
Bill Yi
d9ffa0edb3 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-11-17 17:51:20 +00:00
Tracy Zhou
90c621e601 Merge "Add split screen API to start two split apps with intents" into tm-qpr-dev am: e8a3e0a57c am: e5baade06d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19379171

Change-Id: I8d5e46dea2a153a78a6a9bfc6037be229562ce9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-17 08:14:00 +00:00
Tracy Zhou
e5baade06d Merge "Add split screen API to start two split apps with intents" into tm-qpr-dev am: e8a3e0a57c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19379171

Change-Id: I526ba3288b912916937513956c4ee7223c6774dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-17 07:46:17 +00:00
Tracy Zhou
e8a3e0a57c Merge "Add split screen API to start two split apps with intents" into tm-qpr-dev 2022-11-17 07:04:48 +00:00
TreeHugger Robot
712b0bcd0a Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-11-16 20:54:19 +00:00
Ats Jenk
06838319b7 Merge "Fix crash when handling touch on caption" into tm-qpr-dev am: d41f29df84 am: 5c915f0af1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20485462

Change-Id: I7065bf46d77801397476a7e37d6a5206eb0489f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 20:08:53 +00:00
Ats Jenk
5c915f0af1 Merge "Fix crash when handling touch on caption" into tm-qpr-dev am: d41f29df84
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20485462

Change-Id: Iac52577432362349c35f90798a1d56b867ad4109
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 19:29:58 +00:00
Ats Jenk
d41f29df84 Merge "Fix crash when handling touch on caption" into tm-qpr-dev 2022-11-16 19:06:53 +00:00
Tony Huang
efc99c950b Merge "Reduce flicker while split entering animation" into tm-qpr-dev am: 455985f914 am: 722b72adb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20401466

Change-Id: I8db5ee717d76ef6ac938ddd127a66bd6f5a0599a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 18:59:25 +00:00
Tracy Zhou
4331d6ff42 Add split screen API to start two split apps with intents
Fixes: 239824922
Test: See the video in the other change of this topic
Change-Id: I9fade744e5dac2683d87bda5079453b8efbb977e
2022-11-16 10:33:32 -08:00
Arthur Hung
0a8ef45e56 Merge "Use IS_U_ANIMATION_ENABLED to enable animators for U" 2022-11-16 12:32:43 +00:00
Bill Yi
e0c8fb9582 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3afb6fcb53275d5481160eaf6e0c5e3e159e7a32
2022-11-15 22:21:55 -08:00
Bill Yi
71a20c1afe Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id2b9182855861fb7f58dfe2fdad08e16fc877ed0
2022-11-15 22:20:08 -08:00
Bill Yi
a738328b55 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifa219d1220849d95935f9fcac392f3e08b319f7f
2022-11-15 22:18:56 -08:00
Bill Yi
e442688ebd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib452d96bd7e6d43545f7840f3e09b122357e6c2e
2022-11-15 22:17:00 -08:00
Wei Sheng Shih
35c7421ce5 Merge "Fixes onBackAnimationFinished executed in binder thread." 2022-11-16 03:02:23 +00:00
Arthur Hung
104cb59497 Use IS_U_ANIMATION_ENABLED to enable animators for U
Use `IS_U_ANIMATION_ENABLED` to control the new animatiors for U
except `TYPE_RETURN_TO_HOME` that already enabled in previous version.

Bug: 131727607
Test: atest BackAnimationControllerTest
Change-Id: I612d4e8ce312be6dee36776b63cee33e72875908
2022-11-16 03:02:16 +00:00
Tony Huang
722b72adb7 Merge "Reduce flicker while split entering animation" into tm-qpr-dev am: 455985f914
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20401466

Change-Id: Ib0bd0143e44f8fc88efbaeb1d1d559c797238a81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 01:24:04 +00:00