Commit Graph

629532 Commits

Author SHA1 Message Date
Hongwei Wang
3cd3a80f30 Merge "Settle auto PiP transaction in WindowContainerTransaction" into sc-dev 2021-03-15 21:59:13 +00:00
TreeHugger Robot
b6c64857ec Merge "Don't crash if default supervision profile owner is not set" into sc-dev 2021-03-15 21:46:41 +00:00
Teddy Katz
0aee9a8100 Merge "Allow configuring home button longpress duration with a flag" into sc-dev 2021-03-15 21:32:27 +00:00
Tajinder Gadh
5248a13b2f Merge "DO NOT MERGE: AR Attributions for Location history. Parent cl (ag/13779796) It grants the AR permission to the extra location provider package. They follow the same model as location attribution to the headless apk. More details about design here: go/bluedoc-headless-lh" into sc-dev 2021-03-15 21:30:24 +00:00
TreeHugger Robot
68e6bdd7ff Merge "transcoding: add @MinSdk to MediaTranscodeManager APIs" into sc-dev 2021-03-15 21:26:13 +00:00
Winson Chung
e3e90bd0c4 Merge changes from topic "revert-13608835-shell_feature_interfaces-HRAUSTBFGW" into sc-dev
* changes:
  Revert "1/ Add mechanism to expose shell feature directly (for Pip)"
  Revert "2/ Add mechanism to expose other features directly"
2021-03-15 20:46:18 +00:00
Neil Fuller
e85b1a6c5e Merge "Improve docs for onStartUpdates / onStopUpdates" into sc-dev 2021-03-15 20:24:13 +00:00
Teddy Katz
3d4d489fa3 Allow configuring home button longpress duration with a flag
(cherry picked from commit 9e64d0934a)

Bug: 182169548
Test: tried various flag values locally on a Pixel 3 + atest SystemUITests
Merged-In: I738d86e5ef3069a03de41fa6a5bc7cdd58e3bc88
Change-Id: I738d86e5ef3069a03de41fa6a5bc7cdd58e3bc88
2021-03-15 19:41:06 +00:00
Robin Lee
b4dfa621f7 Merge "Allow setup app to have SAW permission" into sc-dev 2021-03-15 19:29:44 +00:00
Vishnu Nair
a3e2def1ed Merge "Check if the sc is valid when finishing seamless rotation" into sc-dev 2021-03-15 19:05:38 +00:00
Hyundo Moon
2b4ee6faaf Merge "System MediaRouter2: Add Transfer/ControllerCallback functionality" into sc-dev 2021-03-15 19:00:08 +00:00
Kevin Han
2e810b5d1e Merge "Add intent for going to "Unused apps"" into sc-dev 2021-03-15 18:51:19 +00:00
Karthik Bharadwaj
86514a9bc1 Merge "Add support for handling microphone disable by multiple users" into sc-dev 2021-03-15 18:44:37 +00:00
Tajinder Gadh
8153df7fff DO NOT MERGE: AR Attributions for Location history.
Parent cl (ag/13779796)
It grants the AR permission to the extra
location provider package.
They follow the same model as location
attribution to the headless apk.
More details about design here:
go/bluedoc-headless-lh

Bug: 181900091
Test: manual
Change-Id: Id8ff881ac344967f8aba9fb30609b2b422b16f01
(cherry picked from commit 151a571c1f)
2021-03-15 18:34:48 +00:00
Tyler Gunn
deb61608ce Merge "Propagate Telephony disconnect cause to Telecom." into sc-dev 2021-03-15 18:28:08 +00:00
TreeHugger Robot
2cd2ed4c7b Merge "Added interact accross user permission to media uid" into sc-dev 2021-03-15 18:25:47 +00:00
Vishnu Nair
cace0ba98d Merge "Add async mode tests for BLAST" into sc-dev 2021-03-15 18:19:52 +00:00
TreeHugger Robot
3203531c2e Merge "Add DisplayTest to FrameworksTestsFilter" into sc-dev 2021-03-15 18:02:35 +00:00
TreeHugger Robot
6e6666fff7 Merge "Remove the "airplane-safe" string from SysUI" into sc-dev 2021-03-15 17:54:35 +00:00
Winson Chung
64b8381c7d Revert "1/ Add mechanism to expose shell feature directly (for Pip)"
Revert "Add shell aidl files"

Revert "Update starting window init call for CarLauncher"

Revert submission 13608835-shell_feature_interfaces

Reason for revert: SysUI Studio aidl import issue
Reverted Changes:
I49a5a0419:2/ Add mechanism to expose other features directly...
I19425896d:Update starting window init call for CarLauncher
If048d2cd9:1/ Add mechanism to expose shell feature directly ...
Ibb8365d3c:Add shell aidl files
Ie41b0b77a:Update calls to go through the feature interface i...

Change-Id: I97e591a5e157dfd27a72a735b51a3ed80bf1bf91
2021-03-15 17:52:25 +00:00
Winson Chung
a33a496a6f Revert "2/ Add mechanism to expose other features directly"
Revert "Add shell aidl files"

Revert "Update starting window init call for CarLauncher"

Revert submission 13608835-shell_feature_interfaces

Reason for revert: SysUI Studio aidl import issue
Reverted Changes:
I49a5a0419:2/ Add mechanism to expose other features directly...
I19425896d:Update starting window init call for CarLauncher
If048d2cd9:1/ Add mechanism to expose shell feature directly ...
Ibb8365d3c:Add shell aidl files
Ie41b0b77a:Update calls to go through the feature interface i...

Change-Id: I8bacc844fc3f0447311b5a97c4d356f2fb80f3ce
2021-03-15 17:52:25 +00:00
Andy Wickham
6b6d7892de Merge "Moves BcSmartspaceDataPlugin to SystemUI." into sc-dev 2021-03-15 17:49:36 +00:00
TreeHugger Robot
266acf176d Merge "Add support to report ART metrics to statsd." into sc-dev 2021-03-15 17:45:56 +00:00
Hongwei Wang
f4dfb7c4a3 Settle auto PiP transaction in WindowContainerTransaction
At the end of autoEnterPip transition, followings happen in sequence
- Transition finishes in Launcher side, which operates on the
  animation leash
- RecentsAnimationController.TaskAnimationAdapter#onCleanup has the final
  chance to set the Task leash
- PipTaskOrganizer gets onTaskAppeared callback and commits Task into
  pinned mode

What's been changed here
- Transition in Launcher no longer in charge of settle the final transaction
- RecentsAnimationController.TaskAnimationAdapter#onCleanup sets the
  Task leash to be in sync with the final state in Launcher side
- PipTaskOrganizer commits the final leash transaction together with
  WindowContainerTransaction that enters PiP

Known issue: transition from landscape is not polished

Video: http://rcll/aaaaaabFQoRHlzixHdtY/hT5SXvaCy28P4UtfuoKiDw
Bug: 181342797
Test: see video
Change-Id: Ieabd6991ea5174099714ec22970198bebde1e336
2021-03-15 10:40:13 -07:00
Garfield Tan
9c907184d5 Merge "Use resolved windowing mode to match launch root" into sc-dev 2021-03-15 17:31:02 +00:00
Chong Zhang
2cdcce2570 transcoding: add @MinSdk to MediaTranscodeManager APIs
These apis are available on S+ only.

bug: 178811728
test: builds; treehugger
Change-Id: I0bcc4be1a7d425b86e13a0c2afa5deec8ad3ed10
2021-03-15 10:28:57 -07:00
Corina Grigoras
9f2095305b Merge "Expose create uri as user as system api." into sc-dev 2021-03-15 17:27:34 +00:00
Nader Jawad
72f70e8c81 Merge "Fixed crash in EdgeEffect after fling gesture" into sc-dev 2021-03-15 17:27:27 +00:00
Oli Lan
fe4a8f58fb Merge "Add text classification results to clip description and clip data." into sc-dev 2021-03-15 17:26:35 +00:00
Martin Brabham
54ec981b86 Merge "Bluetooth: Modify and append to the Out-of-Band API" into sc-dev 2021-03-15 17:24:57 +00:00
Nathalie Le Clair
cdb0369d2a Merge "Reduce calls for target power state" into sc-dev 2021-03-15 17:19:01 +00:00
Chavi Weingarten
1227084212 Merge "Add DisplayHashParams to specify how to generate display hash" into sc-dev 2021-03-15 17:07:01 +00:00
Ming-Shin Lu
281be88301 Merge "Improve IME hiding animation when uncloked by password" into sc-dev 2021-03-15 17:03:15 +00:00
Robert Shih
e0519c10e4 Merge "Unhide MediaDrm#getPlaybackComponent" into sc-dev 2021-03-15 17:00:32 +00:00
Neil Fuller
4bc11722e8 Improve docs for onStartUpdates / onStopUpdates
Improve docs for onStartUpdates / onStopUpdates, expanding on what
implementations are expected to do.

Bug: 179829144
Test: build only
Change-Id: I8fedfee4988cd7f37f415efc8d6cba0784c400a2
2021-03-15 16:58:09 +00:00
Matt Pietal
e52627847c Merge "Device Control metrics" into sc-dev 2021-03-15 16:39:43 +00:00
Vishnu Nair
ba40611dce Check if the sc is valid when finishing seamless rotation
If the window is removed, the finish seamless rotation can be
triggered from the blast sync timeout.

Bug: 182738086
Test: repro steps in bug does not repro anymore
Change-Id: I87bef0dbddeb5640e356afb2d2e57334b8690c28
2021-03-15 09:30:13 -07:00
TreeHugger Robot
1193abc020 Merge "Remove redundant logs in HdmiControlServiceTests" into sc-dev 2021-03-15 16:26:42 +00:00
Tomasz Wasilczyk
bcb5ee6f43 Don't crash if default supervision profile owner is not set
Bug: 175430552
Test: build, flash, watch logcat

Change-Id: If441946fa278c04ae88122f6243f5a7dedd96ebc
(cherry picked from commit bd27c36591)
2021-03-15 16:15:35 +00:00
Heemin Seog
1fcb030d0e Merge "Fix broken keyguard in car sysui" into sc-dev 2021-03-15 16:09:22 +00:00
Nataniel Borges
1f9f16f880 Merge "Promote PIP postsubmit tests to presubmit" into sc-dev 2021-03-15 16:03:48 +00:00
Naomi Musgrave
1bc6bbbb8d Add DisplayTest to FrameworksTestsFilter
Bug: 181860668
Test: atest FrameworksMockingCoreTests:android.view.DisplayTest
Test: adb shell am instrument -w \
     -e filter com.android.server.wm.test.filters.FrameworksTestsFilter \
     -e selectTest_verbose true \
     com.android.frameworks.mockingcoretests/androidx.test.runner.AndroidJUnitRunner
Change-Id: Ie8a9a932f7ee8d3fb24cb454dd63cb0e559617ef
2021-03-15 15:59:44 +00:00
Stevie Kideckel
d73b4b672f Merge "Add API for setting a fixed list of RemoteViews on an AdapterView" into sc-dev 2021-03-15 15:56:13 +00:00
Zimuzo Ezeozue
d2ae678d05 Merge "Add 5s ANR delay during transcoding" into sc-dev 2021-03-15 15:53:47 +00:00
Bernardo Rufino
9b182c69f3 Merge "Add DISMISS_NOTIFICATION_SHADE action for a11y" into sc-dev 2021-03-15 15:39:18 +00:00
Hugues Evrard
c1eee2851b Merge "Use VK_ANDROID_frame_boundary in HWUI" into sc-dev 2021-03-15 15:28:05 +00:00
Lorenzo Colitti
36a793e347 Merge "Call clearCallingIdentity when calling registerNetworkProvider in TNS" am: 0665793932 am: 601e411e21 am: df86fe650e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1635045

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib9169b66fd9f5bccfbbfaa69392ff176e41d4b53
2021-03-15 15:09:22 +00:00
Lorenzo Colitti
df86fe650e Merge "Call clearCallingIdentity when calling registerNetworkProvider in TNS" am: 0665793932 am: 601e411e21
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1635045

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6edda160620b4a3cbcf85f21081a41d959cf3173
2021-03-15 14:24:34 +00:00
Matt Pietal
2451f55fea Device Control metrics
Log user events related to controls, such as when controls are
refreshed as well as user interactions with all controls (touch, long
press, drag)

Bug: 162066455
Test: manual
Change-Id: I32e0b560dcfb119f8a9eecd1dc7bc74de9253ca4
2021-03-15 10:23:50 -04:00
Marvin Ramin
12c1644d4e Remove redundant logs in HdmiControlServiceTests
Bug: 180499471
Test: atest HdmiControlServiceTest
Change-Id: Id4b12108bf0a09bcd383d6fca23a307717461378
2021-03-15 15:21:44 +01:00