Commit Graph

1554 Commits

Author SHA1 Message Date
Chris Li
188dd133c3 Merge "Migrate DisplayContent.mOverlayContainers to DisplayArea" 2020-05-21 00:21:17 +00:00
Jay Aliomer
fd05a23c75 Merge "Remove new styles from AOSP" into rvc-d1-dev am: dbe16101a5 am: 1c9b3a68da am: a19a88b5aa
Change-Id: Ieef64c1ed185ea8f8314e3712366fd4234acf093
2020-05-20 21:32:34 +00:00
Jay Aliomer
1c9b3a68da Merge "Remove new styles from AOSP" into rvc-d1-dev am: dbe16101a5
Change-Id: Idaa838376e581f37c30cb6d3ace8cb73d72dd99d
2020-05-20 20:47:56 +00:00
Chris Li
27284de40a Migrate DisplayContent.mOverlayContainers to DisplayArea
(1/n DisplayArea Sibling Roots)

Instead of adding magnification window to the overlay containers in
DisplayContent, move it to be part of the policy created display
hierarchy.

DA.Root
   - DA for FEATURE_WINDOWED_MAGNIFICATION
      - BELOW_TASKS
      - TDA
      - ABOVE_TASKS (below TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY)
   - DA.Tokens for TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY
      - Magnification overlay windows
   - ABOVE_TASKS (DA.Tokens's for layers above
     TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY)

Fix: 156424590
Test: manual: magnification and screen rotation
Test: go/wm-smoke (manual)
Change-Id: I959c0a882b0a0e9a9dbb44ad62a3c65c1dfe3c06
2020-05-20 13:44:33 -07:00
Jay Aliomer
dbe16101a5 Merge "Remove new styles from AOSP" into rvc-d1-dev 2020-05-20 20:35:15 +00:00
Jay Aliomer
e3b17f75b5 Remove new styles from AOSP
Fixes: 156779458
Test: manually check styles
Change-Id: Idab27fe12f0daad6ffe6587967d1e25ff2f5c238
2020-05-19 13:35:08 -04:00
TreeHugger Robot
ae898cd2d2 Merge "Screen recording doesnt record internal audio" into rvc-dev am: 3ccf874dca
Change-Id: I73fb031cb436c4b632d82890498df484713f5e69
2020-05-18 23:37:20 +00:00
TreeHugger Robot
a70674e644 Merge "Add keylayout for Steam controller (USB)" into rvc-dev am: e061bdbfe1
Change-Id: Id27fda1baa8db1247face7d0483b5c7f8626f2f2
2020-05-18 23:12:34 +00:00
TreeHugger Robot
519a1ee6ce Merge "Screen recording doesnt record internal audio" into rvc-dev am: 3ccf874dca am: 43ddb44202 am: c4bbe5f370 am: 73e1604fe5
Change-Id: Ib853efdf98b4bc31fb2162828f98f3f8fe5b8962
2020-05-18 17:43:59 +00:00
TreeHugger Robot
c4bbe5f370 Merge "Screen recording doesnt record internal audio" into rvc-dev am: 3ccf874dca am: 43ddb44202
Change-Id: I7dd0cb5e95d39d1331f79ed310b4b361e06ee2a3
2020-05-18 17:07:08 +00:00
TreeHugger Robot
43ddb44202 Merge "Screen recording doesnt record internal audio" into rvc-dev am: 3ccf874dca
Change-Id: Icb1ad78c63b8b81dc386be86cfdadbbce403a22b
2020-05-18 16:50:38 +00:00
TreeHugger Robot
3ccf874dca Merge "Screen recording doesnt record internal audio" into rvc-dev 2020-05-18 16:37:11 +00:00
Jay Aliomer
c2094aedcc Screen recording doesnt record internal audio
Fixes: 156645454
Test: manual
Change-Id: I3be1df0e6261750b2fe923650ee3359414fce642
2020-05-16 17:58:25 -04:00
TreeHugger Robot
3f2b390486 Merge "Add keylayout for Steam controller (USB)" into rvc-dev am: e061bdbfe1 am: 99a088c764 am: 2cffdd6b41 am: 0be5e16a03
Change-Id: If55c46af334346b6624f3b69a703b38978bc21d7
2020-05-16 02:33:13 +00:00
TreeHugger Robot
2cffdd6b41 Merge "Add keylayout for Steam controller (USB)" into rvc-dev am: e061bdbfe1 am: 99a088c764
Change-Id: I831255898643144318b004e732357533cbe56c14
2020-05-16 01:58:13 +00:00
TreeHugger Robot
99a088c764 Merge "Add keylayout for Steam controller (USB)" into rvc-dev am: e061bdbfe1
Change-Id: I6fd935f70a23800c93acf60c54138b85c56d0e2f
2020-05-16 01:32:42 +00:00
Siarhei Vishniakou
2abc5d2823 Add keylayout for Steam controller (USB)
In the USB mode, Steam controller needs a key layout, because most of
the buttons and axes are incorrectly mapped.

The wireless dongle has not been tested.

The controller also support BLE, but currently goes into lizard mode by
default (only mouse and 2 buttons: left/right clicks work). So a driver
is likely necessary to go into the normal mode over BT, and hid-steam
doesn't help with that currently.

On BT, the controller has product id of 0x1106.

Bug: 147434575
Test: use the "gamepad tester" app and connect joystick over the USB.
Ensure that all mappings work
Test: CTS test will not be done at this time because it requires
supporting SET_REPORT in the hid command.

Change-Id: Ic0c50695338f98dcaeaaa7b3417fde702563d205
2020-05-15 07:38:14 -07:00
Treehugger Robot
3264563e66 Merge "Convert much of f/b/data/fonts/Android.mk to Android.bp" am: fbb827fe24 am: 445030096f am: 93e1bfa6fc am: 3dc4f436b9 am: 08525c730f
Change-Id: Iafe38e18fb4dad2790a030454e5ed7ad2b60b068
2020-05-14 17:18:15 +00:00
Treehugger Robot
3dc4f436b9 Merge "Convert much of f/b/data/fonts/Android.mk to Android.bp" am: fbb827fe24 am: 445030096f am: 93e1bfa6fc
Change-Id: I82242b7e323829cdafae869815a35b768f42d233
2020-05-14 16:48:36 +00:00
Treehugger Robot
93e1bfa6fc Merge "Convert much of f/b/data/fonts/Android.mk to Android.bp" am: fbb827fe24 am: 445030096f
Change-Id: I1dda18059beb41e34a25a62cc2c95e83944427c3
2020-05-14 16:33:52 +00:00
Treehugger Robot
445030096f Merge "Convert much of f/b/data/fonts/Android.mk to Android.bp" am: fbb827fe24
Change-Id: I1f455ecabdd195f30e6026a0aee3d38e3cd7c5de
2020-05-14 16:18:55 +00:00
Dan Willemsen
276c4eb05b Convert much of f/b/data/fonts/Android.mk to Android.bp
The Serif symlinks haven't been used since 2014, so I removed them.

Test: treehugger
Test: m fonts.xml DroidSansMono.ttf AndroidClock.ttf, ensure same installed files
Change-Id: I496498e0debac37f5fff4b9e046813e6b2694fd5
2020-05-13 20:22:42 -07:00
TreeHugger Robot
f3ae8b5bd1 Merge "Add day-night-mode permission to Shell." into rvc-dev am: 021ceaecf2
Change-Id: Ib364f93a1f0c338b7139c8f0a6945653a2db01bf
2020-05-13 19:47:17 +00:00
TreeHugger Robot
021ceaecf2 Merge "Add day-night-mode permission to Shell." into rvc-dev 2020-05-13 19:41:38 +00:00
TreeHugger Robot
77d3432f68 Merge "Includes SecondaryHome into the priv app whitelist." into rvc-dev am: 8a8dba8d27
Change-Id: I4283f9cc4fb1cc56d95f1952cd0f7468a592741c
2020-05-12 20:36:40 +00:00
Automerger Merge Worker
0b8132aeff Merge "Merge "Includes SecondaryHome into the priv app whitelist." into rvc-dev am: 8a8dba8d27 am: 27777a33cc am: 6d18a18871" into rvc-qpr-dev-plus-aosp am: e34ae51ffa
Change-Id: Iafcb00a7c6bf79b8a5356698b00c7e9f0adee7cc
2020-05-12 20:25:16 +00:00
TreeHugger Robot
6d18a18871 Merge "Includes SecondaryHome into the priv app whitelist." into rvc-dev am: 8a8dba8d27 am: 27777a33cc
Change-Id: Ifa13b89421c0bab0552819fd086cab93e32f7810
2020-05-12 19:44:50 +00:00
TreeHugger Robot
27777a33cc Merge "Includes SecondaryHome into the priv app whitelist." into rvc-dev am: 8a8dba8d27
Change-Id: I541b357a816f6851a670b17f28d0bee14cdf533c
2020-05-12 19:28:04 +00:00
Hall Liu
04e782ddb7 Merge "Convert Telephony broadcasts to be non-sticky" into rvc-dev am: ee1249911a
Change-Id: I7365f679d2b7af4119283a67660187857de790c9
2020-05-12 19:09:29 +00:00
Treehugger Robot
fbd4a6f80a Add day-night-mode permission to Shell.
Without the permission "adb shell cmd uimode night <mode>" doesn't work.
Adding the permission to the AndroidManifest file so the shell command
will work.

Bug: 155584597
Test: run `adb shell cmd uimode night <no|yes|auto>`
Change-Id: Ic444f3351cb130d24a2794284c6bf8709c80712c
(cherry picked from commit a85cc22044)
2020-05-12 15:13:26 +00:00
Yuncheol Heo
561f67eb72 Includes SecondaryHome into the priv app whitelist.
- Add android.permission.INTERACT_ACROSS_USERS for the CarNotificationLib.

Bug: 156114875
Test: check if SecondayHome is shown (in gcar_hl_md_emu_x86).
Change-Id: I79ae64b90a52235876a6e51ad01ae70def1bf1fa
2020-05-11 19:52:01 -07:00
Treehugger Robot
a85cc22044 Merge "Add day-night-mode permission to Shell." am: 963c11e32d am: dbf9eed8c1 am: 4d79a92078 am: 2c5a6f6c4d am: 8da297826d
Change-Id: Ic444f3351cb130d24a2794284c6bf8709c80712c
2020-05-11 23:50:19 +00:00
Treehugger Robot
2c5a6f6c4d Merge "Add day-night-mode permission to Shell." am: 963c11e32d am: dbf9eed8c1 am: 4d79a92078
Change-Id: I543f3a26224e826708dc3317b2f9c2bd7b19b53e
2020-05-11 23:18:22 +00:00
Treehugger Robot
4d79a92078 Merge "Add day-night-mode permission to Shell." am: 963c11e32d am: dbf9eed8c1
Change-Id: I5fe4468f78049f9907a92121b7e3661bb9598440
2020-05-11 22:56:39 +00:00
Treehugger Robot
dbf9eed8c1 Merge "Add day-night-mode permission to Shell." am: 963c11e32d
Change-Id: Iad4aba4108aa1d60e470388bfadf2bdc78984324
2020-05-11 22:38:44 +00:00
Kweku Adams
6adfa79de1 Add day-night-mode permission to Shell.
Without the permission "adb shell cmd uimode night <mode>" doesn't work.
Adding the permission to the AndroidManifest file so the shell command
will work.

Bug: 155584597
Test: run `adb shell cmd uimode night <no|yes|auto>`
Change-Id: Ibfb145d762c73bba9de639d4050b9b26e4778cc9
2020-05-11 11:46:34 -07:00
Hall Liu
594a7cb577 Merge "Convert Telephony broadcasts to be non-sticky" into rvc-dev am: ee1249911a am: 276f44d2ba am: 558b7f1af4 am: e6fa6c55b0
Change-Id: Ic5183c50e7932e9d3f4c985de8783aa4579854f3
2020-05-10 06:02:57 +00:00
Hall Liu
558b7f1af4 Merge "Convert Telephony broadcasts to be non-sticky" into rvc-dev am: ee1249911a am: 276f44d2ba
Change-Id: I629a56543cb71ca867804046ffec2bbee5438016
2020-05-10 05:29:32 +00:00
Hall Liu
45066127b3 Convert Telephony broadcasts to be non-sticky
Convert ACTION_SERVICE_STATE_CHANGED and
ACTION_ANY_DATA_CONNECTION_CHANGED to be non-sticky broadcasts that
require the READ_PHONE_STATE permission to receive. As part of this,
declare READ_PHONE_STATE to be split from READ_PRIVILEGED_PHONE_STATE,
so that system apps holding READ_PRIVILEGED_PHONE_STATE can also receive
these broadcasts.

Also modify affected users to fetch the current value of the broadcast
upon registration instead of relying on the sticky nature of the
broadcast.

Bug: 150155839
Test: manual
Test: atest KeyguardUpdateMonitorTest
Change-Id: I020b1554c4fc59c138d015e787526b4a66c74853
2020-05-06 18:11:50 -07:00
Automerger Merge Worker
d18bdcf5cb Merge "Merge "EmbeddedKitchenSinkApp BLUETOOTH_PRIVILEGED" into rvc-dev am: 928d88431a am: e3d05e322e" into rvc-d1-dev-plus-aosp am: dd596a19c6 am: c2590587a1
Change-Id: I176f70add9a548a13a80c9c44c55f691f53c0753
2020-05-05 00:30:03 +00:00
Joseph Pirozzo
e3d05e322e Merge "EmbeddedKitchenSinkApp BLUETOOTH_PRIVILEGED" into rvc-dev am: 928d88431a
Change-Id: Ic993b4665d910a921783ae2957cc8e36a2cbaaf6
2020-05-04 23:38:17 +00:00
Joseph Pirozzo
928d88431a Merge "EmbeddedKitchenSinkApp BLUETOOTH_PRIVILEGED" into rvc-dev 2020-05-04 23:30:55 +00:00
Siarhei Vishniakou
3e8e53dadc Merge "Add layout for xbox 360 wireless controller" into rvc-dev am: 0a19f87982 am: 7c7b26933a am: d66dbcec72 am: 1b1402b4c2
Change-Id: I30d057f0bc6ed654c6373e9b5713242be0199aba
2020-05-04 23:15:22 +00:00
Siarhei Vishniakou
7c7b26933a Merge "Add layout for xbox 360 wireless controller" into rvc-dev am: 0a19f87982
Change-Id: If60afe7042832a6eb67ac76c838bef5e53bd0169
2020-05-04 22:31:52 +00:00
Siarhei Vishniakou
0a19f87982 Merge "Add layout for xbox 360 wireless controller" into rvc-dev 2020-05-04 22:13:49 +00:00
Joseph Pirozzo
5212738a84 EmbeddedKitchenSinkApp BLUETOOTH_PRIVILEGED
Grant BLUETOOTH_PRIVILEGED permission to test app for Bluetooth testing.

Bug: 155672526
Test: In Kitchen Sink, connect on MAP profile.
Change-Id: I736f5a46e2f198947d7077a5542cf986aea7355c
2020-05-04 13:46:51 -07:00
Siarhei Vishniakou
046e478fd9 Add layout for xbox 360 wireless controller
We are currently missing a layout for the xbox 360 wireless controller,
with product id 02a1.

Bug: 144469012

Test: copied from Vendor_045e_Product_028e.kl
Change-Id: Ib0286d126273619352e9834e669413ecd699b1d9
2020-05-04 19:38:40 +00:00
Chong Zhang
9248b26375 Grant PACKAGE_USAGE_STATS permission to media uid
Allow media service to register UidObserver to get uid
state changes. Media transcoding uses uid states for
transcoding job scheduling purposes.

bug: 154734285
bug: 145233472

Change-Id: I20c7b33798ff5ede6620cccf65143da5ad77cba5
2020-04-29 10:55:37 -07:00
Jay Aliomer
f33e3de397 Merge "Adding P20 styles" into rvc-d1-dev am: d44d9cce56 am: 373d01857a am: fdbabe1ee7
Change-Id: I73771dc8c5f535dc8980ece3ab6cf272d6dcf8ff
2020-04-28 19:26:55 +00:00
Jay Aliomer
d44d9cce56 Merge "Adding P20 styles" into rvc-d1-dev 2020-04-28 18:27:17 +00:00