diff options
author | Scott Lobdell <slobdell@google.com> | 2021-04-23 22:36:54 +0000 |
---|---|---|
committer | Scott Lobdell <slobdell@google.com> | 2021-04-23 22:36:54 +0000 |
commit | 81abbc1d7858f29d3344ff6f1702ece80eab8341 (patch) | |
tree | b06d90c8277a04e4f8156d9b20d1611a974156e0 /data | |
parent | 857ef130fbeed8d0eb46cc1bfc9f75138f11c4e6 (diff) | |
parent | bd33c1d7942f5aad3e313cbd447056b720d1149b (diff) |
Merge SP1A.210412.001
Change-Id: I0e1c2f5679d5f721cd605b7da785959763311698
Diffstat (limited to 'data')
-rw-r--r-- | data/etc/car/Android.bp | 7 | ||||
-rw-r--r-- | data/etc/car/com.android.car.secondaryhome.xml | 26 | ||||
-rw-r--r-- | data/etc/platform.xml | 8 | ||||
-rw-r--r-- | data/etc/privapp-permissions-platform.xml | 10 | ||||
-rw-r--r-- | data/keyboards/Vendor_054c_Product_0ce6.kl | 71 | ||||
-rw-r--r-- | data/keyboards/Vendor_0957_Product_0001.idc | 1 | ||||
-rw-r--r-- | data/keyboards/Vendor_0957_Product_0001.kl | 2 | ||||
-rw-r--r-- | data/keyboards/Vendor_248a_Product_8266.idc | 1 |
8 files changed, 92 insertions, 34 deletions
diff --git a/data/etc/car/Android.bp b/data/etc/car/Android.bp index 8991a6117306..084e1dbced4a 100644 --- a/data/etc/car/Android.bp +++ b/data/etc/car/Android.bp @@ -102,13 +102,6 @@ prebuilt_etc { } prebuilt_etc { - name: "allowed_privapp_com.android.car.secondaryhome", - sub_dir: "permissions", - src: "com.android.car.secondaryhome.xml", - filename_from_src: true, -} - -prebuilt_etc { name: "allowed_privapp_com.android.car.settings", sub_dir: "permissions", src: "com.android.car.settings.xml", diff --git a/data/etc/car/com.android.car.secondaryhome.xml b/data/etc/car/com.android.car.secondaryhome.xml deleted file mode 100644 index a8af90683db5..000000000000 --- a/data/etc/car/com.android.car.secondaryhome.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License - --> -<permissions> - <privapp-permissions package="com.android.car.secondaryhome"> - <!-- Required to launch app in ActivityView --> - <permission name="android.permission.ACTIVITY_EMBEDDING"/> - <!-- Required to send notification to current user--> - <permission name="android.permission.MANAGE_USERS"/> - <!-- Required for CarNotificationLib --> - <permission name="android.permission.INTERACT_ACROSS_USERS"/> - </privapp-permissions> -</permissions> diff --git a/data/etc/platform.xml b/data/etc/platform.xml index 321339073c0b..1c11f9557d81 100644 --- a/data/etc/platform.xml +++ b/data/etc/platform.xml @@ -236,6 +236,10 @@ targetSdk="31"> <new-permission name="android.permission.BLUETOOTH_CONNECT" /> </split-permission> + <split-permission name="android.permission.BLUETOOTH" + targetSdk="31"> + <new-permission name="android.permission.BLUETOOTH_ADVERTISE" /> + </split-permission> <split-permission name="android.permission.BLUETOOTH_ADMIN" targetSdk="31"> <new-permission name="android.permission.BLUETOOTH_SCAN" /> @@ -244,6 +248,10 @@ targetSdk="31"> <new-permission name="android.permission.BLUETOOTH_CONNECT" /> </split-permission> + <split-permission name="android.permission.BLUETOOTH_ADMIN" + targetSdk="31"> + <new-permission name="android.permission.BLUETOOTH_ADVERTISE" /> + </split-permission> <!-- This is a list of all the libraries available for application code to link against. --> diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 0987f7782edc..2fe8b285ed88 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -429,6 +429,7 @@ applications that come with the platform <permission name="android.permission.LOG_COMPAT_CHANGE" /> <permission name="android.permission.READ_COMPAT_CHANGE_CONFIG" /> <permission name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG" /> + <permission name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD" /> <!-- Permissions required to test ambient display. --> <permission name="android.permission.READ_DREAM_STATE" /> <permission name="android.permission.WRITE_DREAM_STATE" /> @@ -505,6 +506,15 @@ applications that come with the platform <permission name="android.permission.MODIFY_AUDIO_ROUTING"/> <!-- Permission required for CTS test - CtsPermission5TestCases --> <permission name="android.permission.RENOUNCE_PERMISSIONS" /> + <permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS" /> + <permission name="android.permission.GET_PROCESS_STATE_AND_OOM_SCORE" /> + <permission name="android.permission.READ_LOGS" /> + <permission name="android.permission.BRIGHTNESS_SLIDER_USAGE" /> + <permission name="android.permission.ACCESS_AMBIENT_LIGHT_STATS" /> + <permission name="android.permission.CONFIGURE_DISPLAY_BRIGHTNESS" /> + <permission name="android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER" /> + <permission name="android.permission.SET_MEDIA_KEY_LISTENER" /> + <permission name="android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER" /> </privapp-permissions> <privapp-permissions package="com.android.statementservice"> diff --git a/data/keyboards/Vendor_054c_Product_0ce6.kl b/data/keyboards/Vendor_054c_Product_0ce6.kl new file mode 100644 index 000000000000..4d51a9ecdce2 --- /dev/null +++ b/data/keyboards/Vendor_054c_Product_0ce6.kl @@ -0,0 +1,71 @@ +# Copyright (C) 2021 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# +# Sony Playstation(R) DualSense Controller +# + + +# Mapping according to https://developer.android.com/training/game-controllers/controller-input.html + +# Square +key 0x134 BUTTON_X +# Cross +key 0x130 BUTTON_A +# Circle +key 0x131 BUTTON_B +# Triangle +key 0x133 BUTTON_Y + +key 0x136 BUTTON_L1 +key 0x137 BUTTON_R1 +key 0x138 BUTTON_L2 +key 0x139 BUTTON_R2 + +# L2 axis +axis 0x02 LTRIGGER +# R2 axis +axis 0x05 RTRIGGER + +# Left Analog Stick +axis 0x00 X +axis 0x01 Y +# Right Analog Stick +axis 0x03 Z +axis 0x04 RZ + +# Left stick click +key 0x13d BUTTON_THUMBL +# Right stick click +key 0x13e BUTTON_THUMBR + +# Hat +axis 0x10 HAT_X +axis 0x11 HAT_Y + +# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt +# Share +key 0x13a BUTTON_SELECT +# Options +key 0x13b BUTTON_START +# PS key +key 0x13c BUTTON_MODE + +# SENSORs +sensor 0x00 ACCELEROMETER X +sensor 0x01 ACCELEROMETER Y +sensor 0x02 ACCELEROMETER Z +sensor 0x03 GYROSCOPE X +sensor 0x04 GYROSCOPE Y +sensor 0x05 GYROSCOPE Z diff --git a/data/keyboards/Vendor_0957_Product_0001.idc b/data/keyboards/Vendor_0957_Product_0001.idc index 39479ce725e1..c67e6d34fccb 100644 --- a/data/keyboards/Vendor_0957_Product_0001.idc +++ b/data/keyboards/Vendor_0957_Product_0001.idc @@ -19,4 +19,5 @@ # Basic Parameters keyboard.layout = Vendor_0957_Product_0001 +keyboard.doNotWakeByDefault = 1 audio.mic = 1
\ No newline at end of file diff --git a/data/keyboards/Vendor_0957_Product_0001.kl b/data/keyboards/Vendor_0957_Product_0001.kl index 90c0433d2a9c..672abef3c963 100644 --- a/data/keyboards/Vendor_0957_Product_0001.kl +++ b/data/keyboards/Vendor_0957_Product_0001.kl @@ -47,7 +47,7 @@ key 11 0 key usage 0x000c01BB TV_INPUT key usage 0x000c022A BOOKMARK key usage 0x000c0096 SETTINGS -key usage 0x000c0097 NOTIFICATION +key usage 0x000c009F NOTIFICATION key usage 0x000c008D GUIDE key usage 0x000c0089 TV key usage 0x000c009C CHANNEL_UP diff --git a/data/keyboards/Vendor_248a_Product_8266.idc b/data/keyboards/Vendor_248a_Product_8266.idc index 3021655c286e..47ff9f88374f 100644 --- a/data/keyboards/Vendor_248a_Product_8266.idc +++ b/data/keyboards/Vendor_248a_Product_8266.idc @@ -21,4 +21,5 @@ # Due to a memory error on early prototypes of the reference remote control # the VID/PID is mapped to 248a/8266 instead of 0957/0001 keyboard.layout = Vendor_0957_Product_0001 +keyboard.doNotWakeByDefault = 1 audio.mic = 1
\ No newline at end of file |