aboutsummaryrefslogtreecommitdiff
path: root/tests/SampleCustomInputService
diff options
context:
space:
mode:
authorkanant <kanant@google.com>2020-11-06 14:32:44 -0800
committerAntonio Kantek <kanant@google.com>2020-11-16 21:40:52 +0000
commit6db52943af3b05dda9dc010dc5e465048accb347 (patch)
tree0de1adce21c7582fcb28b1b3d00d0736d60e48e1 /tests/SampleCustomInputService
parentde646e2de77744154cc86bc3a42cfb95f4dd9476 (diff)
downloadCar-6db52943af3b05dda9dc010dc5e465048accb347.tar.gz
Exposing getDisplayIdForDriver as system api method
Bug: 173140478 Bug: 159623196 Test: atest CarServiceUnitTest Change-Id: Ib8a8bf0b862c6e30ec8b9799a539eb41683cd481
Diffstat (limited to 'tests/SampleCustomInputService')
-rw-r--r--tests/SampleCustomInputService/AndroidManifest.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/SampleCustomInputService/AndroidManifest.xml b/tests/SampleCustomInputService/AndroidManifest.xml
index d012ff49ce..5e06b005bc 100644
--- a/tests/SampleCustomInputService/AndroidManifest.xml
+++ b/tests/SampleCustomInputService/AndroidManifest.xml
@@ -28,6 +28,8 @@
<uses-permission android:name="android.permission.MONITOR_INPUT"/>
<!-- This permission is required to adjust car audio volume -->
<uses-permission android:name="android.car.permission.CAR_CONTROL_AUDIO_VOLUME"/>
+ <!-- This permission is required to read driver's display id -->
+ <uses-permission android:name="android.car.permission.ACCESS_PRIVATE_DISPLAY_ID"/>
<application>
<service android:name=".SampleCustomInputService"