Commit Graph

65597 Commits

Author SHA1 Message Date
TreeHugger Robot
fab471d1b3 Merge "Use current display surface size for custom rotation animation" into rvc-dev am: 281e6cefb5
Change-Id: Ibe83c9be405b63aa9639d026ccd31340bb016993
2020-04-21 03:16:46 +00:00
TreeHugger Robot
281e6cefb5 Merge "Use current display surface size for custom rotation animation" into rvc-dev 2020-04-21 03:11:12 +00:00
TreeHugger Robot
8acbb3a70a Merge "Update the surface size for tasks when config changes" into rvc-dev am: 177980b87d
Change-Id: I788a073dc77e7eca2f717452f1cae81bdf68af2f
2020-04-21 03:05:14 +00:00
TreeHugger Robot
177980b87d Merge "Update the surface size for tasks when config changes" into rvc-dev 2020-04-21 03:02:21 +00:00
Evan Rosky
f0e8a2dc96 Merge "Home tasks inherit split or fullscreen from parent." into rvc-dev am: 48c653a2c1
Change-Id: I4522134a78d29ae55405ed35da7c39f3cbffbe34
2020-04-21 02:46:45 +00:00
Evan Rosky
48c653a2c1 Merge "Home tasks inherit split or fullscreen from parent." into rvc-dev 2020-04-21 02:21:18 +00:00
Kyunglyul Hyun
60c53ca06e Merge "Set the type of system routes" into rvc-dev am: 71c824f92b
Change-Id: I412824b9da6feb8e83acbbb35230c0c740abfb07
2020-04-21 01:50:24 +00:00
Kyunglyul Hyun
71c824f92b Merge "Set the type of system routes" into rvc-dev 2020-04-21 01:45:38 +00:00
Kyunglyul Hyun
1080cafec4 Set the type of system routes
This CL sets correct type for system routes.

Bug: 153711362
Bug: 146772609
Test: cts and manually w/ connected USB-C headphone.
Change-Id: I3b4321914bfe944e2cec321fdcf779a45a78ca88
2020-04-21 01:45:19 +00:00
TreeHugger Robot
d803fbac0f Merge "[incfs] Skip empty folders for app updates" into rvc-dev am: 26f65631b0
Change-Id: I4d02f32b91afedd2bac1e7b46cc9304c004cf8d6
2020-04-21 01:42:56 +00:00
TreeHugger Robot
26f65631b0 Merge "[incfs] Skip empty folders for app updates" into rvc-dev 2020-04-21 01:42:39 +00:00
TreeHugger Robot
096b2d9d74 Merge "Check task visibility vs. root task visibility" into rvc-dev am: ae6d49183e
Change-Id: I0d88f44a7a4e1c2c9cb36db7100c27dd6b4b2621
2020-04-21 01:42:36 +00:00
Jackal Guo
312d98d306 Merge "Invalidate the cache for APK-in-APEX" into rvc-dev am: 6959c37c5f
Change-Id: Ie83f4c1f35828a4c3205e3f80f2c2269916a6d62
2020-04-21 01:42:00 +00:00
TreeHugger Robot
ae6d49183e Merge "Check task visibility vs. root task visibility" into rvc-dev 2020-04-21 01:33:07 +00:00
Jackal Guo
6959c37c5f Merge "Invalidate the cache for APK-in-APEX" into rvc-dev 2020-04-21 01:21:33 +00:00
Evan Rosky
de34bd38a5 Merge "Use Divider ShellRoot to ferry divider to Accessibility" into rvc-dev am: 9c5a02c269
Change-Id: I9a85c52bc0e9984e6561b18319a91f8320b96431
2020-04-21 00:53:27 +00:00
Evan Rosky
9c5a02c269 Merge "Use Divider ShellRoot to ferry divider to Accessibility" into rvc-dev 2020-04-21 00:34:47 +00:00
TreeHugger Robot
3e607fd4b8 Merge "InputMonitor: Ensure we assign input to correct Surface" into rvc-dev am: 4c696cce14
Change-Id: I0ecc875ce3965a97ffa53718aedf9a326266f6e8
2020-04-21 00:06:09 +00:00
Evan Rosky
c440b4e458 Home tasks inherit split or fullscreen from parent.
Also, changes the "inheritance" of bounds-based configs so
that when the window bounds are overridden, the configs will
implicitly also be overridden (recalculated against display)
appBounds and screenW/H match the overridden bounds.

Bug: 154331729
Bug: 153662925
Test: enter split-screen, open ime in launcher. Updated some
      tests to check for this expectation.
Change-Id: I1e37d8d116fde90428036bc54a2a77b293cee338
2020-04-20 17:02:08 -07:00
TreeHugger Robot
4c696cce14 Merge "InputMonitor: Ensure we assign input to correct Surface" into rvc-dev 2020-04-20 23:47:24 +00:00
Yurii Zubrytskyi
83727858ad [incfs] Skip empty folders for app updates
The change is to check if there are any files in the source folder
before creating target.

Bug: 153704006
Bug: 154535403
Test: double adb install megacity.apk without uninstallation
Change-Id: Id62fe224f7dce032af4382909986b6ff04508b38
2020-04-20 15:41:52 -07:00
Robert Carr
e57724d7fc InputMonitor: Ensure we assign input to correct Surface
We want to assign input to the BLAST surface instead of the
WSA container layer if BLAST is enabled. Previously this didn't
matter but following upcoming occlusion changes the BLAST surface
would then occlude the WSA surface and the main Input Channel would
fail to receive input. We fix this by having InputMonitor call
getClientViewRootSurface()

Bug: 152064592
Test: Flip BLAST. Input still works!
Change-Id: I3e4e136fa11d15f8f576b97dbdc34c9a585a0f32
2020-04-20 12:43:11 -07:00
Mark Renouf
19be640d6f Merge "Scroll Capture Framework" into rvc-dev am: 03f9a814a5
Change-Id: Ie9cc6da06f1d900a3750750df9f70fa4a9868d52
2020-04-20 19:23:54 +00:00
TreeHugger Robot
186de5c738 Merge "Fix inaccuracies in BatterySaverPolicy cache invalidation" into rvc-dev am: 46b85fa698
Change-Id: Iee54239d16f2de3d3d6d99b5c2514fd65ba0dcb6
2020-04-20 19:21:18 +00:00
Mark Renouf
03f9a814a5 Merge "Scroll Capture Framework" into rvc-dev 2020-04-20 19:20:13 +00:00
TreeHugger Robot
46b85fa698 Merge "Fix inaccuracies in BatterySaverPolicy cache invalidation" into rvc-dev 2020-04-20 19:04:26 +00:00
Treehugger Robot
a35ed65f30 Merge "Fix Hdmi Control service" am: 28b71ac415 am: f4540408c6
Change-Id: I1b5b35cf13fdfb18cf246b7eceb98a2e2c4f1359
2020-04-20 18:29:49 +00:00
TreeHugger Robot
23d07666b4 Merge "Apply intensity settings to composed vibration effects" into rvc-dev am: 896cdcca42
Change-Id: I38e330bd5728b767525b5d2c8ef4133a92c54c8b
2020-04-20 18:29:12 +00:00
Treehugger Robot
f4540408c6 Merge "Fix Hdmi Control service" am: 28b71ac415
Change-Id: Id8de7bb57947fb7be875930613cf078444ea7ce4
2020-04-20 18:14:04 +00:00
Chris Tate
ce88f62e22 Merge "Allow system processes to set near-future alarms" am: 58dd4e78b3
Change-Id: I459ebc7aaeb23d96f8d4e733b860fca0f86d6e14
2020-04-20 18:13:23 +00:00
TreeHugger Robot
896cdcca42 Merge "Apply intensity settings to composed vibration effects" into rvc-dev 2020-04-20 18:11:30 +00:00
Treehugger Robot
28b71ac415 Merge "Fix Hdmi Control service" 2020-04-20 17:56:36 +00:00
Chris Tate
58dd4e78b3 Merge "Allow system processes to set near-future alarms" 2020-04-20 17:49:43 +00:00
Chris Tate
a7d246b75e Merge "Only autoVerify at install for new hosts" into rvc-dev am: a29a359ce4
Change-Id: Ic4b6878a093cf8ee30bbe6ef85d2bd15852b86de
2020-04-20 17:44:30 +00:00
Chris Tate
a29a359ce4 Merge "Only autoVerify at install for new hosts" into rvc-dev 2020-04-20 17:41:55 +00:00
Haining Chen
b2eab8175a Merge "Add unit tests for LockSettingsStrongAuth" into rvc-dev am: 01f08dcef1
Change-Id: Iaeeeb321be73d16d4cf9854e98efd4330bad8ea7
2020-04-20 17:30:33 +00:00
Haining Chen
01f08dcef1 Merge "Add unit tests for LockSettingsStrongAuth" into rvc-dev 2020-04-20 17:12:37 +00:00
Andrei Litvin
f73ba98b10 Merge "Add support for GamePad api in ITvRemoteServiceInput." into rvc-dev am: 7dd4f1afb7
Change-Id: Ia5f0be7376d99319382a19a617aea679fdc4c38f
2020-04-20 16:54:25 +00:00
Andrei Litvin
7dd4f1afb7 Merge "Add support for GamePad api in ITvRemoteServiceInput." into rvc-dev 2020-04-20 16:38:11 +00:00
TreeHugger Robot
0cabba4645 Merge "Consolidate TaskDisplayArea#addStack and TaskDisplayArea#addChild" into rvc-dev am: 53e927f890
Change-Id: I8e870a490b563b18227e22c877ddf80dc955c7e3
2020-04-20 16:10:49 +00:00
Tarundeep Singh
126eb8c6a0 Fix Hdmi Control service
Corrected the boolean expression in
6dab93b419

Bug: 154208302
Test: adb shell dumpsys hdmi_control
Test: run cts -m CtsServicesHostTestCases
Change-Id: I474d47098b1b62cbdeba68df5c7bdb17b64fcafe
2020-04-20 21:33:26 +05:30
TreeHugger Robot
53e927f890 Merge "Consolidate TaskDisplayArea#addStack and TaskDisplayArea#addChild" into rvc-dev 2020-04-20 15:49:43 +00:00
Michael Wachenschwanz
8c4540ffcf Merge "Add permission check to UsageStatsManager#isAppInactive" into rvc-dev am: dcc388ab44
Change-Id: I0ee8681752311979bf2b8c6e569dff4a42ba9a7d
2020-04-20 15:27:38 +00:00
Michael Wachenschwanz
dcc388ab44 Merge "Add permission check to UsageStatsManager#isAppInactive" into rvc-dev 2020-04-20 15:15:35 +00:00
Mark Renouf
a927929d99 Scroll Capture Framework
This is an implementation of long screenshots supporting
interactive, incremental capture of scrolling content using
a cooperative API between the app process and the system.

Design goals:

 - Provide for tile based incremental screenshots of scrolling content
 - Support existing apps without developer action
 - Provide support for non View-based Apps & UI toolkits

Bug: 148131831
Test: atest \
      FrameworksCoreTests:android.view.ScrollCaptureClientTest \
      FrameworksCoreTests:android.view.ScrollCaptureTargetResolverTest \
      FrameworksCoreTests:com.android.internal.view.ViewGroupScrollCaptureTest \
      FrameworksCoreTests:android.view.ScrollViewCaptureHelperTest \
      WmTests:com.android.server.wm.DisplayContentTest

Merged-In: I6c66a623faba274c35b8fa857d3a72030a763aea
Change-Id: I6c66a623faba274c35b8fa857d3a72030a763aea
2020-04-20 15:07:59 +00:00
Lais Andrade
bf7a301ab0 Apply intensity settings to composed vibration effects
Use the existing maxAmplitude and gamma adjustment values to apply the
relative scaling of default vibration intensity settings and user
settings on top of the PrimitiveEffect#scale value.

As a consequence, the relative scaled amplitude of a OneShot or Waveform
vibration effect should match the scaled PrimitiveEffect#scale value.

Fix: 154089649
Test: atest FrameworksCoreTests:VibrationEffectTest
Change-Id: I3ca0042a42675289a2ed8110c9dc3798055ebf4a
2020-04-20 15:02:15 +00:00
Jaewan Kim
5dfe167e1e Merge "Fix finding media button session" into rvc-dev am: f8448d1538
Change-Id: I07837bd2e496eff37c13b70b9dca3bea3aa5df61
2020-04-20 14:56:02 +00:00
Jaewan Kim
f8448d1538 Merge "Fix finding media button session" into rvc-dev 2020-04-20 14:49:43 +00:00
TreeHugger Robot
33c3c1f930 Merge "Change switch ratio when new package has reported during device boot up." into rvc-dev am: 1a1f2e9e48
Change-Id: Ib66ea29aad0970170a61ee715a5390a741fb3921
2020-04-20 14:47:42 +00:00
Andrei Litvin
3b92b9682d Add support for GamePad api in ITvRemoteServiceInput.
Gamepad-specific API is a separtate input path from standard "remote"
service. Specifically it adds:
  - openGamepad that creates a virtual input device with
  gamepad-specific suport
  - send gamepad keys
  - send gamepad axis updates, which support joysticks, analog triggers
  and HAT axis (as an alternative to DPAD buttons).

Bug: 150764186

Test: atest media/lib/tvremote/tests/src/com/android/media/tv/remoteprovider/TvRemoteProviderTest.java

Test: flashed a ADT-3 device after the changes. Android TV Remote
      on my phone still worked in controlling the UI.

Merged-In: I49612fce5e74c4e00ca60c715c6c72954e73b7a3
Change-Id: I49612fce5e74c4e00ca60c715c6c72954e73b7a3
(cherry picked from commit 9b9f556af1)
2020-04-20 10:42:58 -04:00