Commit Graph

655339 Commits

Author SHA1 Message Date
TreeHugger Robot
2674889177 Merge "Do not add the finishing Activity to mNoHistoryActivities" into sc-v2-dev 2021-10-05 05:46:57 +00:00
TreeHugger Robot
313f6d2cab Merge "Enable NoBackGesture logging" into sc-v2-dev 2021-10-05 05:30:35 +00:00
TreeHugger Robot
3ba8073d1c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 2bce62522f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15961562

Change-Id: I358a2702d84c32155930b39fe1c0a8ced5ba51e5
2021-10-05 04:11:02 +00:00
TreeHugger Robot
2bce62522f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-10-05 03:58:27 +00:00
TreeHugger Robot
fcaa1f8e7d Merge changes from topic "presubmit-am-67b00fe875b44d77afdb1ce083f53101" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 49cd1ddff2
  Import translations. DO NOT MERGE ANYWHERE
2021-10-05 03:58:27 +00:00
TreeHugger Robot
1717119fcf Merge "Consolidate app-pair divider bar behavior" into sc-v2-dev 2021-10-05 03:27:55 +00:00
Winson Chung
3effcb4cd6 Dump TaskbarDelegate info
Bug: 201662541
Test: dumpsys activity service SystemUIService
Change-Id: Ib4a0a0316a02e5ab0ebe1dacf1fea0270750b36c
2021-10-05 03:23:23 +00:00
TreeHugger Robot
160827fb5e Merge "Early exit if the target region is empty" into sc-dev am: 47d7cbaf87
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15391846

Change-Id: I360679703d23d299b12ed9dc05a7b4c856af8825
2021-10-05 03:14:04 +00:00
Wei Sheng Shih
6717096333 Merge "Fix two typos on comment." into sc-v2-dev 2021-10-05 03:08:29 +00:00
Seigo Nonaka
f47ac3cf1d Merge "Early exit if the target region is empty" into sc-v2-dev 2021-10-05 03:02:01 +00:00
TreeHugger Robot
47d7cbaf87 Merge "Early exit if the target region is empty" into sc-dev 2021-10-05 03:01:41 +00:00
Louis Chang
5df8cac564 Merge "Removing TaskFragment token from LaunchActivityItem" into sc-v2-dev 2021-10-05 03:00:24 +00:00
Jieru Shi
11cffc874d Merge "Add logging for remote service died for CCAPI." into sc-v2-dev 2021-10-05 02:53:20 +00:00
Jeff DeCew
0808ee8c2d Merge "Do not show the notification footer until the user is set up." into sc-qpr1-dev am: 114f3ee944
Bug: 193149550
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15854211

Change-Id: I9c4cdca9f19beedaaaa1a8bd77757847bcbe9586
2021-10-05 02:35:37 +00:00
TreeHugger Robot
ea6e7bea8a Merge "[Ongoing Call] Remove #onEntryCleanUp override." into sc-v2-dev 2021-10-05 02:30:08 +00:00
Bill Yi
9d347aa9d5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If41a14538101c6b39535fce97e478da8f9aba9fa
2021-10-05 02:27:17 +00:00
Bill Yi
af2deeb84f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib1326efcb60599fed6f7c9841fab7f259c57c0c3
2021-10-05 01:34:16 +00:00
Jeff DeCew
114f3ee944 Merge "Do not show the notification footer until the user is set up." into sc-qpr1-dev 2021-10-05 01:29:45 +00:00
Ming-Shin Lu
b96404ee4e Merge "Fix IME aboves popupwindow when the app is in split-screen" into sc-v2-dev 2021-10-05 00:52:07 +00:00
Jerry Chang
5a62d8a71e Consolidate app-pair divider bar behavior
Set divider bar surface position after the corresponding leash ready.
Make sure app pair renders rounded corners with proper insets. And
prevent re-inflating divider bar redundantedly.

Fix: 201966641
Fix: 201966626
Test: atest WMShellUnitTests
Test: manual check divider bar behavior while in app pair split.
Change-Id: I70305df9ab8d77a8b474f573cea82026b9eb5298
2021-10-05 08:47:42 +08:00
Caitlin Cassidy
0321e62b06 [Ongoing Call] Remove #onEntryCleanUp override.
With ag/15924211 submitted, #onEntryRemoved should be correctly called for both pending and active entries, so we no longer need to care about #onEntryCleanUp.

See https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/15924211/comments/d96f2662_c42f3b88.

This effectively reverts commit cd755525c4.

Test: Tested with test app referenced in ag/15909288 and confirmed that b/199600334 still does not occur.
Bug: 199600334
Change-Id: I31a0c805f05ca9b00be68fe3e30b2d249c16a7ab
2021-10-05 00:47:38 +00:00
Jerry Chang
49c02984b8 Merge "Consolidate the behavior and style of side stage outline" into sc-v2-dev 2021-10-05 00:46:36 +00:00
Joshua Mccloskey
fa6ff692ea [automerger skipped] Merge "Fixed NPE in FingerprintAuthClient" into sc-dev am: ec8c7fcf03 -s ours am: bbffdd574d -s ours
am skip reason: Merged-In I3c310ab6a631750377a069e926567279bedc9d3b with SHA-1 78893c2317 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15820591

Change-Id: Ia5e86616cc1fedd20a533da5b6f5cabbae0d6523
2021-10-04 23:35:12 +00:00
Joshua Mccloskey
bbffdd574d [automerger skipped] Merge "Fixed NPE in FingerprintAuthClient" into sc-dev am: ec8c7fcf03 -s ours
am skip reason: Merged-In I3c310ab6a631750377a069e926567279bedc9d3b with SHA-1 78893c2317 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15820591

Change-Id: Icf738b8ece1e06248e1c454369371bdcb46ceb44
2021-10-04 23:26:08 +00:00
Joshua Mccloskey
ec8c7fcf03 Merge "Fixed NPE in FingerprintAuthClient" into sc-dev 2021-10-04 23:10:30 +00:00
Diego Vela
1d02377e00 Update window-extensions aar.
Update window-extensions aar to match updated interface.
Interface was changed due to API council feedback to prefer a single
method that returns a nullable value.

Bug: 199123327
Test: Manual
Change-Id: I6cc5a66857de97c6b55ca3131a3e516d593e1c83
2021-10-04 15:52:18 -07:00
Ilya Matyukhin
9367dd8737 Add biometric AIDL interfaces to the watchdog
Bug: 200217671
Test: HAL stacktrace shows up in the bugreport
Change-Id: Ib41990562df24966e6ff528eaeae749f42155a4e
2021-10-04 12:51:19 -07:00
TreeHugger Robot
3d45e08e61 Merge "Update theme after overlay" into sc-v2-dev 2021-10-04 18:35:10 +00:00
Joshua Mccloskey
b5997d47ae Fixed NPE in FingerprintAuthClient
Test: It builds.
Bug: 193883067
Change-Id: I3c310ab6a631750377a069e926567279bedc9d3b
Merged-In: I3c310ab6a631750377a069e926567279bedc9d3b
(cherry picked from commit 78893c2317)
DO NOT MERGE
2021-10-04 18:33:25 +00:00
Riddle Hsu
2160b3d75f Merge "Align the duration of task exit animation to enter animation" into sc-v2-dev 2021-10-04 16:59:20 +00:00
Caitlin Cassidy
8d80e7aeb7 Merge "[Ongoing Call Controller] Add a #dump method with current call information." into sc-v2-dev 2021-10-04 15:41:49 +00:00
Riddle Hsu
da4272ecaa Align the duration of task exit animation to enter animation
Now they are both 500ms. Otherwise if the duration of exit animation
is longer, it may cover the entering task.

Bug: 201998178
Test: Back from a task in a different orientation, the exiting
      task should not flash on screen.

Merged-In: Iefa134e4217ba35d33801225368b7a5df60d932c
Change-Id: Iefa134e4217ba35d33801225368b7a5df60d932c
2021-10-04 15:33:15 +00:00
Miranda Kephart
648874c47c Merge "Revert "Fix shared transition offsets in landscape"" into sc-v2-dev 2021-10-04 14:53:49 +00:00
Miranda Kephart
a7d22696a5 Merge "Offset ghost views by the containing view's location" into sc-v2-dev 2021-10-04 14:53:49 +00:00
Riddle Hsu
6ad3fc9dd2 Align the duration of task exit animation to enter animation
Now they are both 500ms. Otherwise if the duration of exit animation
is longer, it may cover the entering task.

Bug: 201998178
Test: Back from a task in a different orientation, the exiting
      task should not flash on screen.

Change-Id: Iefa134e4217ba35d33801225368b7a5df60d932c
2021-10-04 22:12:43 +08:00
Michał Brzeziński
bbf8acb569 Merge "Fixing smartspace position on lockscreen with big clock visible on large screens" into sc-v2-dev 2021-10-04 10:53:27 +00:00
Alex Chau
7161531532 Enable NoBackGesture logging
Bug: 201642126
Test: none
Change-Id: I2794933b1fed6ae36b12a45f7fde37e0afe6c127
2021-10-04 11:12:08 +01:00
Chilun
3e0f315f8c Use post-execution state for ActivityResultItem
onActivityResult was called before onStart when resuming an activity
from STOPPED state.

Ensure the onActivityResult callback to be called before onResume.
But we only fix this after Android S to avoid some app compatibility
issues.

Bug: 78294732
Bug: 130178098
Test: atest ActivityLifecycleTests
Change-Id: I9ff060ff26d3fc517aae0a094fc041887326a963
2021-10-04 17:09:36 +08:00
Nick Chameyev
3d984a776f Merge "Rename shouldUseDefaultDeviceStateChangeTransition attribute" into sc-v2-dev 2021-10-04 09:00:00 +00:00
Ming-Shin Lu
d438917585 Fix IME aboves popupwindow when the app is in split-screen
As now the new split-screen system has been migated to wmShell
with using WINDOWING_MODE_MULTI_WINDOW to setup the split task.
so inSplitScreenWindowingMode() will no longer be true since this
method is used for legacy split-screen.

It affects WindowState#needsRelativeLayeringToIme can not
check if the app is in split-screen window and makes system can't
set relative layering to IME for popupWindow to make it above IME.

Note that setting relative layering with IME also benefits for other
non-fullscreen windowing mode like in bubble/freeform mode, the
dropdown menu can above the IME when the parent window is IME
layering target.

Changing to use DC#isImeAttachedToApp() to fix this layering issue.

Fix: 201504527
Test: atest ZOrderingTest#\
 testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow
Test: manual as issue steps
   1) Go to "Create contact" in Phone.
   2) Enter split-screen mode.
   3) Click on a text box of "Create contact".
   4) Click the menu button to show the menu of "Create contact".
   5) Expect the layer of the menu should above the IME surface.

Change-Id: I2f466a2305e56e4fd2a0c509d7c8027104cb51b6
2021-10-04 16:36:20 +08:00
Jerry Chang
08ac74f125 Consolidate the behavior and style of side stage outline
Update the style of side stage outline to match the current design. And
make sure the outline will interact properly with task bar expanding,
collapsing, swipe up, drag to split, recents shortcut to split and drag
divider bar to resize gestures.

Bug: 200850654
Test: atest WMShellUnitTests
Test: enable side stage outline, observed it behaves properly.
Change-Id: I3f0795adc34a0efb19d35b78d54364da4189a043
2021-10-04 11:06:59 +08:00
Daniel Solomon
13d3dffa66 Make DisplayModeDirector aware of whether HBM is active
Currently DisplayModeDirector casts Vote.PRIORITY_HIGH_BRIGHTNESS_MODE
based on whether High Brightness Mode (HBM) is allowed, rather than
based on whether HBM is actually active. This can lead to cases where
the HBM refresh rate vote is cast when HBM is allowed but not actually
used.

This change corrects this behavior, and makes DisplayModeDirector check
that HBM is both allowed (enabled) and actually in use (active).

Bug: 200851199
Test: atest DisplayModeDirectorTest
    BrightnessLevelPreferenceControllerTest
    HighBrightnessModeControllerTest
Change-Id: I8cb8f023a6bca11de976866259032143f43d9a4f
2021-10-03 16:59:21 -07:00
TreeHugger Robot
ce87ba4e87 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: f093f0d0dc -s ours am: d3e9c7afd9 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15960218

Change-Id: I0f551f6cb2b9ce12ddc4186d226b7894bc86a9f2
2021-10-02 23:08:00 +00:00
TreeHugger Robot
929d6a1169 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b58ae99be4 -s ours am: 5615e584c3 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15962895

Change-Id: Iaf62324cd6e6c1fd927d88cf4a210b0695fbe0b2
2021-10-02 23:07:56 +00:00
TreeHugger Robot
7a4be2ad3d Merge changes from topic "presubmit-am-f13c035a5b3e49f48c5507317e3c0aaf" into sc-qpr1-dev am: cb8556cb78
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15960218

Change-Id: I1873e9bdfe666943ddf358ea648a40431f56aed1
2021-10-02 23:07:50 +00:00
Bill Yi
944a507144 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 6c9a21ae83 am: d78ef61842 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15960218

Change-Id: Icffc3c6f1a4d0bfd06d7d5dca8992b5f48e3c625
2021-10-02 23:07:49 +00:00
TreeHugger Robot
6cadc5490a Merge changes from topic "presubmit-am-58d727f812d04fc3b6d1823862f6bf2f" into sc-qpr1-dev am: 3181e42d48
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15962895

Change-Id: I82dc0a52ba5b0c7c3618bb7460642d8320a9eb3a
2021-10-02 23:07:25 +00:00
Bill Yi
3931b7f957 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 49ff6b02d9 am: 56208a9760 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15962895

Change-Id: I893ef02aafd28b85687a53a54563b53615512b69
2021-10-02 23:07:24 +00:00
TreeHugger Robot
d3e9c7afd9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: f093f0d0dc -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15960218

Change-Id: Ia2cb48d0846b33a9d18c754e691bb4dec8c4fe42
2021-10-02 23:06:54 +00:00
TreeHugger Robot
5615e584c3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b58ae99be4 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15962895

Change-Id: I6760c98759c4f75fd3c796fc01ab47c95fc678ff
2021-10-02 23:06:50 +00:00