Commit Graph

654919 Commits

Author SHA1 Message Date
Vishnu Nair
bd61cfb0be Merge "ViewRootImpl: Update opaque flag if SurfaceControl changes from relayout" into sc-qpr1-dev am: 8dc8182ad0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15934803

Change-Id: I3b7d501067ccdb716ae892fa4ccd34b2722b7ab7
2021-09-28 20:54:36 +00:00
Vishnu Nair
8dc8182ad0 Merge "ViewRootImpl: Update opaque flag if SurfaceControl changes from relayout" into sc-qpr1-dev 2021-09-28 20:38:42 +00:00
Jorge Gil
7c2508117c Merge "Do not change launch mode to FF is FS explicitly requested" into sc-v2-dev 2021-09-28 20:05:53 +00:00
TreeHugger Robot
b14bcefcb1 Merge "Revert "Remove Dependency.get from NavigationBar."" into sc-v2-dev 2021-09-28 19:37:41 +00:00
Nader Jawad
15d37532bf Merge "Fix initialization of snapshot SkImage instance" into sc-qpr1-dev am: be0bdf6178
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15926060

Change-Id: I601044300fbea039823b2bfad37d59cc4fec6ed5
2021-09-28 18:40:58 +00:00
Nader Jawad
be0bdf6178 Merge "Fix initialization of snapshot SkImage instance" into sc-qpr1-dev 2021-09-28 18:24:42 +00:00
Jerry Chang
05b2d626e6 Merge "Dispatch organized tasks info chagne when committing visibility" into sc-v2-dev 2021-09-28 18:05:34 +00:00
TreeHugger Robot
80fcbc8fe0 Merge "[NGA v2] Reliable Visible Activity Lookup" into sc-v2-dev 2021-09-28 17:50:34 +00:00
Vishnu Nair
f0ae9acf36 ViewRootImpl: Update opaque flag if SurfaceControl changes from relayout
The opaque flag is necessary for the compositor to blend the layers
correctly and prevent translucent pixels from showing the layer
underneath during animations.

Test: manually punch holes in apps and verify opaque apps don't show the layer underneath
Test: automated tests to follow
Bug: 198924563
Change-Id: I1116c51b2efd4e9c0fe2acbca080291f3950245c
2021-09-28 17:45:10 +00:00
Dave Mankoff
be525911ce Revert "Remove Dependency.get from NavigationBar."
This reverts commit 9f8305196c.

Reason for revert: http://b/201416807

Change-Id: Iab917251e00c3ab2ef9f44835728abd93eb16fa5
2021-09-28 17:23:33 +00:00
Eric Laurent
04abcfed22 Merge "AudioService: fix permission check on volume control" into sc-qpr1-dev am: 50d7e14c25
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15897410

Change-Id: Ifdb3db63337b69ca4e6b87ce92084519fd844c4a
2021-09-28 16:53:16 +00:00
Eric Laurent
50d7e14c25 Merge "AudioService: fix permission check on volume control" into sc-qpr1-dev 2021-09-28 16:38:34 +00:00
TreeHugger Robot
68da7eade2 Merge "Keyguard indication area - owner info fix" into sc-qpr1-dev am: 97e242b331
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15924909

Change-Id: Iff4cf49bd791e9db5cc72f399e5e92272b217e8e
2021-09-28 16:07:39 +00:00
TreeHugger Robot
97e242b331 Merge "Keyguard indication area - owner info fix" into sc-qpr1-dev 2021-09-28 15:52:35 +00:00
TreeHugger Robot
72bf1a1f38 Merge "[DO NOT MERGE] Smartspace - Don't create session ahead of init" into sc-v2-dev 2021-09-28 14:08:25 +00:00
Tom Natan
721ac954af Merge "Automatically remove other owned overrides when package override flag changes" into sc-v2-dev 2021-09-28 13:25:16 +00:00
Alastair Breeze
366209d97f Merge "Launch injected location settings on same task" into sc-v2-dev 2021-09-28 12:51:42 +00:00
Matt Pietal
1c12757203 [DO NOT MERGE] Smartspace - Don't create session ahead of init
After the device is setup, if the smartspace component is not
available/initialized, don't attempt to start a session.

Fixes: 199986217
Test: atest LockscreenSmartspaceControllerTest
Change-Id: I36d6f75b37cc5f5274b1cea3a35338f6da424a20
(cherry picked from commit 076aad912e)
2021-09-28 12:50:47 +00:00
Dave Mankoff
22fb5df008 Merge "Remove Dependency.get from NavigationBar." into sc-v2-dev 2021-09-28 12:45:39 +00:00
Matt Pietal
373aff0c7c Keyguard indication area - owner info fix
There was discrepancy between how null values and empty strings were
treated in KeyguardIndication and KeyguardIndicationController. This
could lead to a crash in systemui. Modify the
KeyguardIndicationController to match the logic in KeyguardIndication.

Bug: 201339576
Test: KeyguardIndicationControllerTest
Change-Id: I8b7b4d7b33b1ee809df17e64347c816f65a50727
2021-09-28 08:37:28 -04:00
Jerry Chang
49abc7fa2d Dispatch organized tasks info chagne when committing visibility
Make sure to traverse all organized parent tasks when dispatching task
info chagned after committing activity visibility. Remove queuing task
info changed in Task#ensureActivitiesVisible because it is not actually
committing activity visibility.

Fix: 200139190
Test: pass existing tests
Test: manual check the repro steps in bug
Change-Id: I869dfa85c4e488e20b4dc7aa1a77d258362081b6
2021-09-28 19:23:57 +08:00
Alastair Breeze
f1ba6081eb Launch injected location settings on same task
Removes activity launch flags that cause the injected location settings
to launch in a new task. This improves animations and settings support
for different form factors.

Fixes: 197608838
Fixes: 197608555
Test: manual
Change-Id: If2deb44058f7d7786a27310d4430f2e83879baa9
2021-09-28 10:19:58 +00:00
Nick Chameyev
b85da640d1 Merge "Rename shouldUseDefaultUnfoldTransition attribute and update docs" into sc-v2-dev 2021-09-28 10:06:27 +00:00
Chris Li
3dce047981 Merge "Offset animation leash to the relative position" into sc-v2-dev 2021-09-28 09:48:18 +00:00
TreeHugger Robot
4f7274abe3 Merge "IME: make WindowInsetsController.show(ime()) more robust" into sc-v2-dev 2021-09-28 09:43:51 +00:00
TreeHugger Robot
7a73e20644 Merge "Fix Keyboard not show up when launch device control with security lock" into sc-v2-dev 2021-09-28 09:43:51 +00:00
lpeter
918ea9940f [NGA v2] Reliable Visible Activity Lookup
To enable more voice-oriented in-app user journeys, Google Assistant
needs to access more information regarding the visible activities
via the Voice Interaction Session. Thus, we provide the APIs to receive
the changed visible activities in Voice Interaction Session.

Bug: 178244510
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsVoiceInteractionTestCases --instant
Change-Id: I019d09fee8105ae1eadbc76803f46fd8b1948f6b
2021-09-28 17:06:49 +08:00
Riddle Hsu
a752da8c80 Merge "Do not lock when calling startActivityFromRecents" into sc-v2-dev 2021-09-28 08:33:38 +00:00
PETER LIANG
c1fb8bb5d2 Merge changes from topic "max_height_a11y_illustration" into sc-v2-dev
* changes:
  Extends to support the restricted setMaxHeight() for illustrationPreference.
  Fix the bounds of the illustration view is larger than the background view in a foldable device.
2021-09-28 05:43:21 +00:00
Pablo Gamito
84afe777a1 Merge changes Ibd9f22af,Id42f5276 into sc-qpr1-dev am: e1841dc539
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15897408

Change-Id: I373e1af0ccbeb47445d9cf7bddb1f6d62e6f7e85
2021-09-28 05:13:42 +00:00
Pablo Gamito
c877f28a09 [automerger skipped] Stop relying on background color attribute to set task transition background am: a5f3e90212 -s ours
am skip reason: Merged-In Id42f52760cb9a681c6c33f3c261d7db5e2f71af3 with SHA-1 c26db36f27 is already in history

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

Change-Id: I912a9b3ecd3e318864adea07f3b064f01b2df22c
2021-09-28 05:13:40 +00:00
Pablo Gamito
e1841dc539 Merge changes Ibd9f22af,Id42f5276 into sc-qpr1-dev
* changes:
  Revert "Add API to specify background color for animations"
  Stop relying on background color attribute to set task transition background
2021-09-28 04:57:52 +00:00
Chris Li
9f8f87950e Merge "Set animation layer for SurfaceFreezer leash" into sc-v2-dev 2021-09-28 03:50:28 +00:00
Chris Li
17558b5680 Offset animation leash to the relative position
When the snapshot surface is created, it should remain at its
original position.

When the animation starts, change animation bounds should be at the
start bounds relative position.

Bug: 196173550
Test: atest WmTests:RemoteAnimationControllerTest
Test: Test with demo app full -> split with RTL enabled.
Change-Id: I3cb44e1f222870f51105bfaa98fc4febaafec03b
2021-09-28 11:05:11 +08:00
Nader Jawad
74eaabead9 Fix initialization of snapshot SkImage instance
Fix issue where the initial snapshot used to create a
resultant SkImage instance with an SkImageFilter applied
was not initialized.

Fixes: 201312688
Test: Re-ran CTS tests
Change-Id: I2440a161c70076850479c562c7c9e6dc8d756236
2021-09-28 02:30:40 +00:00
TreeHugger Robot
7cf888bac5 [automerger skipped] Merge "[Ongoing Call] Remove the call chip when #onEntryCleanUp is called." into sc-qpr1-dev am: 16517d739d -s ours
am skip reason: Merged-In I0f681ccfe55597490bee0d4b190f9fb2c38e28f2 with SHA-1 cd755525c4 is already in history

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

Change-Id: Ic71ecb2858dbebee6c169f8d629a5cd8cac2e1f0
2021-09-28 02:19:38 +00:00
TreeHugger Robot
16517d739d Merge "[Ongoing Call] Remove the call chip when #onEntryCleanUp is called." into sc-qpr1-dev 2021-09-28 02:08:27 +00:00
TreeHugger Robot
213a8d1137 Merge "Clean up the mLastSentTaskInfos entry" into sc-v2-dev 2021-09-28 01:41:37 +00:00
Jason Chang
94ec7e0d2a Merge "Fix One-handed mode truncated screen when device rotates in multiple user mode" into sc-v2-dev 2021-09-28 00:09:09 +00:00
Pablo Gamito
66d4318c18 Revert "Add API to specify background color for animations"
This reverts commit 2ccc829e71.

Reason for revert: No longer needed

Test: Existing tests
Bug: 200763116
Change-Id: Ibd9f22af05eba99c4509b503665c1e915993c940
2021-09-27 23:42:32 +02:00
Pablo Gamito
a5f3e90212 Stop relying on background color attribute to set task transition background
Because the background attribute used to have a different use some apps still set it and it means we could run transitions with unexpected background colors

Test: Existing

Fixes: 200763116
Merged-In: Id42f52760cb9a681c6c33f3c261d7db5e2f71af3
Change-Id: Id42f52760cb9a681c6c33f3c261d7db5e2f71af3
2021-09-27 23:42:15 +02:00
Joe Bolinger
3e68fa4904 Merge "Add dynamic color to side fps overlay." into sc-v2-dev 2021-09-27 20:47:46 +00:00
TreeHugger Robot
2db2bfd25e Merge "Audio focus: make media fade out temporary" into sc-qpr1-dev am: cee2cddebe
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15916332

Change-Id: I93d9a5a4414aaff389dcf6683071c3f84ec83061
2021-09-27 20:33:22 +00:00
TreeHugger Robot
cee2cddebe Merge "Audio focus: make media fade out temporary" into sc-qpr1-dev 2021-09-27 20:07:52 +00:00
Pablo Gamito
ec0a575dfb Merge "Stop relying on background color attribute to set task transition background" into sc-v2-dev 2021-09-27 19:57:41 +00:00
Caitlin Cassidy
83f1718952 [Ongoing Call] Remove the call chip when #onEntryCleanUp is called.
See bug comment #9 for an in-depth explanation.

Test: New unit tests.
Test: I created a test app that sends an ongoing call notification
then removes it 200ms later, and I confirmed that the bug is triggered
without this CL, and is fixed with this CL.
Bug: 199600334

Change-Id: I0f681ccfe55597490bee0d4b190f9fb2c38e28f2
(cherry picked from commit cd755525c4)
Merged-In: I0f681ccfe55597490bee0d4b190f9fb2c38e28f2
2021-09-27 19:40:13 +00:00
TreeHugger Robot
8649b294c1 Merge "[Ongoing Call] Remove the call chip when #onEntryCleanUp is called." into sc-v2-dev 2021-09-27 19:21:50 +00:00
TreeHugger Robot
d8dd7323d2 [automerger skipped] Merge "[DO NOT MERGE] Smartspace - Don't create session ahead of init" into sc-qpr1-dev am: 3a8df63e40 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic26c74527db6a2e15261f76ca33662cb15b8e432
2021-09-27 18:33:21 +00:00
TreeHugger Robot
3a8df63e40 Merge "[DO NOT MERGE] Smartspace - Don't create session ahead of init" into sc-qpr1-dev 2021-09-27 18:20:41 +00:00
Josh Tsuji
82214e172e Merge "Add windowIsFloating to the volume dialog to fix insets issues." into sc-qpr1-dev am: f234de508d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15909680

Change-Id: I88fe6a6eca7f6b18a039368337819d1ef426c76b
2021-09-27 17:36:32 +00:00