Commit Graph

650130 Commits

Author SHA1 Message Date
TreeHugger Robot
ca31c5e7db Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-23 18:12:41 +00:00
Chris Li
56e45a0dd4 Merge "Fix Keyguard exit remote animation not invoke finish callback" into sc-v2-dev 2021-07-23 18:01:17 +00:00
TreeHugger Robot
5f74fa08ba Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-23 17:57:24 +00:00
TreeHugger Robot
f14036160e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-23 17:53:33 +00:00
TreeHugger Robot
cb59ead845 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-23 17:52:46 +00:00
Bill Yi
c01605f9de Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2da9b057a7e2402a99363f8f342516c53bad320f
2021-07-23 16:54:41 +00:00
Bill Yi
20193b10f0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I180ea7cd109483733eb4036b3665a483af6b2ae1
2021-07-23 16:16:50 +00:00
Bill Yi
a81a5aefe9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I42bee20dd7e0a9fb93eb366fd51be58d4fcba2f2
2021-07-23 13:35:10 +00:00
Jamie Garside
a8813c12da Merge "Updated keyguard_pin_view to use a ConstraintLayout." into sc-v2-dev 2021-07-23 13:34:43 +00:00
Sergey Volnov
e175b6f56f Merge "Revert "Fix stage split rotation"" into sc-v2-dev 2021-07-23 13:33:52 +00:00
Bill Yi
ed5a96473f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I916416da0bee68ce06a50f6f17ced5902a7d69d4
2021-07-23 12:42:56 +00:00
Tony Huang
acc62fda0a Revert "Fix stage split rotation"
This reverts commit 706bb3e9a3.

Reason for revert: Cause tests fail

Fix: 191338484
Change-Id: I7a5fb1fa31be2cb52c440dc64f91a83548bcc230
2021-07-23 11:37:41 +00:00
Louis Chang
692e92bfde Merge "Providing caller's token when starting activity in TaskFragment" into sc-v2-dev 2021-07-23 08:26:03 +00:00
Louis Chang
f1a38d121f Merge "Finishing root activity if having other running activities" into sc-v2-dev 2021-07-23 06:52:09 +00:00
Tony Huang
c7efed22c4 Merge "Make sure divider show after DA info changed" into sc-v2-dev 2021-07-23 06:26:43 +00:00
Charles Chen
7d66f8c082 Merge "Add hasRunningActivity in TaskFragmentInfo" into sc-v2-dev 2021-07-23 03:46:27 +00:00
TreeHugger Robot
c739eabbd3 Merge "Prevent NPE when dropping app icon to split" into sc-v2-dev 2021-07-23 03:37:23 +00:00
Louis Chang
ca43bb061b Providing caller's token when starting activity in TaskFragment
NEW_TASK flag was added by ATMS when #startActivityInTaskFragment
is called because the activity was started without source record.

Bug: 193846941
Test: starting CCT in sample app
Change-Id: Ida26034324f7ff761f1e688403d78959a01f010d
2021-07-23 11:14:35 +08:00
Tony Huang
2ac27f9e10 Make sure divider show after DA info changed
Currently it will not receive stage visibility changed callback
after display info changed, the divider will not show even if it
has re-initialized.

Fix this by add applyVisibility call when display info changed.

Fix: 194159070
Test: active stage split and rotate phone
Change-Id: I2b9d6849300bc8a594cdbe658a7f7a663fd949a7
2021-07-23 10:58:09 +08:00
Tony Huang
15cf30408a Merge "Fix stage split rotation" into sc-v2-dev 2021-07-23 02:54:09 +00:00
Chris Li
6ea18c5778 Fix Keyguard exit remote animation not invoke finish callback
When Shell transition is enabled, some launcher tests failed because the
keyguard exit remote animation never invoke the finish callback.

The expect flow is:
1. Dismiss amount changed from 0 to 0.1+ to trigger the keyguard going
away transition.
2. Dismiss amount changed from 0.1+ to 0.3+ to finish the keyguard exit
remote animation.

However, in presubmit test, the dismiss amount may changed from 0.0+ to
1.0 directly. When it happened, there is only a trigger to start the
transition, but never trigger the change event to call the finish
callback, which blocked the Shell transition.

The idea is to also check the current dismiss amount when the keyguard
going away transition reach to the controller.

Bug: 183993924
Test: atest PromiseIconUiTest
Change-Id: I95951385130578f45df0837200cc7e88d89edd34
2021-07-22 18:46:03 -07:00
Ram Parameswaran
a22be8fb7e Merge "Update dialog styling to comply with design guidelines" into sc-v2-dev 2021-07-22 21:39:41 +00:00
TreeHugger Robot
8dbc900327 Merge "Skip operation on content overlay if task's vanished" into sc-v2-dev 2021-07-22 21:28:20 +00:00
Ben Lin
9e8c821a32 Merge "PiP: Implement auto-rotate w/ button nav for Shell Transitions." into sc-v2-dev 2021-07-22 21:25:07 +00:00
TreeHugger Robot
aff5acf765 Merge "PiP: Fully disable dismiss target." into sc-v2-dev 2021-07-22 19:29:10 +00:00
TreeHugger Robot
ede423187b Merge changes from topic "a11y_gesture_s-sc-v2-dev" into sc-v2-dev
* changes:
  Add the log for new supported accessibility button type 'Accessibility Gesture'
  Update the supported type in ACCESSIBILITY_BUTTON_MODE according to navigation gestural mode or button mode
  Add a supported type 'gesture' under ACCESSIBILITY_BUTTON_MODE
2021-07-22 18:53:58 +00:00
Steve Elliott
5a035c0c9d Merge "Move mRemoteInputManager + logic to Controller" into sc-v2-dev 2021-07-22 18:28:49 +00:00
TreeHugger Robot
08e5913a73 Merge "Unify the mismatch in the byte order of the address." into sc-dev am: e664dec81d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15339447

Change-Id: I628ccce349df3a9f1ef5214eec5baef4f7968303
2021-07-22 17:58:40 +00:00
George Burgess
4bb5595564 Merge "MTP: fix a memory leak" into sc-dev am: a66b67936f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15325117

Change-Id: Ie7c18686eb4ea81eb81ebea4301eaa6f401bf36e
2021-07-22 17:57:58 +00:00
TreeHugger Robot
e664dec81d Merge "Unify the mismatch in the byte order of the address." into sc-dev 2021-07-22 17:29:13 +00:00
Hongwei Wang
0a0718c677 Skip operation on content overlay if task's vanished
The stack trace in b/194344478 and b/194280568 is actually from the
preceding ActivityThreadTest test, which does not fail but does crash
certain test cases after that.

Since we may set a start delay on the content overlay fading out
animation, there is chance that onTaskVanished happens before it is
actually started. It's also possible that onTaskVanished happens during
the content overlay fadeout. This CL should have addressed both cases.

Bug: 194344478
Bug: 194280568
Test: atest --iteration 5 \
      ActivityThreadTest#testHandlePictureInPictureRequested_overriddenToEnter \
      ScreenshotTests#testScreenshotSecureLayers \
      TaskStackChangedListenerTest#testTaskChangeCallBacks
Change-Id: I81c0622966df32e02db7cb5aa3cd42d7c4af735e
2021-07-22 10:28:15 -07:00
George Burgess
a66b67936f Merge "MTP: fix a memory leak" into sc-dev 2021-07-22 17:26:32 +00:00
Sergey Volnov
395e74f93e Merge "Revert "Revert "Revert "Launch admin policies settings screen if not possible to"" into sc-dev am: a9949c86c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15360870

Change-Id: I1390ea22d91c01e604faffb9042adea365bce63b
2021-07-22 16:56:20 +00:00
Nikita Ioffe
6fc998c833 Merge changes from topic "apex-installers-restriction" into sc-dev am: e8b129351c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15347597

Change-Id: I73ec1d4f70afe3ac8f9f25cdeed64b05943b92a3
2021-07-22 16:56:07 +00:00
Nikita Ioffe
85af284b2f Restrict what APEXes different installers can update am: e501fd8379
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15331871

Change-Id: I06443f46326c1a877d7245ba913e0261432db352
2021-07-22 16:56:05 +00:00
TreeHugger Robot
2b52c55ae3 Merge "Show "use fingerprint to open" msg for coex" into sc-dev am: c2e4423c8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15358778

Change-Id: Ic8df0d7bce21616db6d468dae1c178744ac513b7
2021-07-22 16:55:21 +00:00
Sergey Volnov
a9949c86c6 Merge "Revert "Revert "Revert "Launch admin policies settings screen if not possible to"" into sc-dev 2021-07-22 16:54:52 +00:00
Nikita Ioffe
e8b129351c Merge changes from topic "apex-installers-restriction" into sc-dev
* changes:
  Reject non-staged APEX install if there is staged install of same APEX
  Restrict what APEXes different installers can update
2021-07-22 16:53:05 +00:00
TreeHugger Robot
c2e4423c8f Merge "Show "use fingerprint to open" msg for coex" into sc-dev 2021-07-22 16:41:17 +00:00
Sergey Volnov
f1564bc866 Revert "Revert "Revert "Launch admin policies settings screen if not possible to"
This reverts commit c3b5583cb0.

Reason for revert: Investigating b/194395139

Change-Id: I4700271436dd21fc08f093ee5f9964c855de600a
2021-07-22 16:29:25 +00:00
Jamie Garside
d72a55e66b Updated keyguard_pin_view to use a ConstraintLayout.
Bug: 191347942
Test: Manually tested.
Change-Id: Ie2f752b6d4ff4293aaa59a298e7ec44f20f7d4dc
2021-07-22 17:25:24 +01:00
TreeHugger Robot
b169f1c712 Merge "Revert "Revert "Launch admin policies settings screen if not possible to launch help page""" into sc-dev am: 8e530f8194
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15346893

Change-Id: Ifc9fa8eeb9164ce238224b9f6849933cba8a8f22
2021-07-22 16:24:02 +00:00
TreeHugger Robot
8e530f8194 Merge "Revert "Revert "Launch admin policies settings screen if not possible to launch help page""" into sc-dev 2021-07-22 15:53:27 +00:00
Lyn Han
f21abb38f4 Merge "Fix HUN input alignment with IME" into sc-dev am: 62180de361
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15333059

Change-Id: Ie6f0c55bc3681aa471fdd1c30ecbfb2225e33609
2021-07-22 14:35:19 +00:00
Lyn Han
62180de361 Merge "Fix HUN input alignment with IME" into sc-dev 2021-07-22 14:26:37 +00:00
Lyn Han
2e8074a574 Fix HUN input alignment with IME
SSA#updateHeadsUpStates defines the top HUN as having
    mustStayOnScreen = TRUE
    headsUpIsVisible = FALSE

However, SSA#updateChild sets
    headsUpIsVisible = TRUE
for the top HUN when shade is closed

When we tap the reply button and show IME, SSA#updateHeadsUpStates
does not recognize the top HUN as such and skips it when
reducing yTranslation by scrollY (which includes IME inset)

This change skips setting headsUpIsVisible on HUNs when shade is closed.

Fixes: 187485733
Test: expand HUN in portrait/landscape with largest font/display
      tap reply button to show IME
      => HUN shifts up to align bottom of input with top of IME
Change-Id: I236b01a7f9070ebe58457eab9ea8072703acb12c
2021-07-22 14:26:18 +00:00
Fabian Kozynski
97be759b19 [automerger skipped] Merge "Hide RSSI next to single carrier name" into sc-dev am: ef8407ab7d -s ours
am skip reason: Merged-In I8b80bb14b8f60872d44d5a92ddfa7c5903420874 with SHA-1 66820d753e is already in history

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

Change-Id: I1a011a3cb83362156a4eda62d5f00f8b5c493595
2021-07-22 13:20:31 +00:00
Fabian Kozynski
ef8407ab7d Merge "Hide RSSI next to single carrier name" into sc-dev 2021-07-22 13:11:40 +00:00
Beverly
2b88dc67bb Show "use fingerprint to open" msg for coex
If face auth fails and fingerprint is running,
show the "use fingerprint to open" msg.

Fixes: 194358779
Test: manual
Change-Id: I249fcf550ac1ca5881d55566a4366937263690bf
2021-07-22 09:06:22 -04:00
arangelov
c3b5583cb0 Revert "Revert "Launch admin policies settings screen if not possible to
launch help page""

This reverts commit c2d0388962.

Reason for revert: Reverting the revert and avoiding the TH failure

Fixes: 191727929
Change-Id: I741f35aab78ba32f69f204dbdf4ebcf632bd741c
2021-07-22 12:05:55 +01:00