aboutsummaryrefslogtreecommitdiff
path: root/service-builtin
diff options
context:
space:
mode:
authorAshutosh Agarwal <radsaggi@google.com>2021-11-04 17:34:04 +0000
committerAshutosh Agarwal <radsaggi@google.com>2021-11-18 21:44:10 +0000
commitf305fc76b890d4f7bb3f4026c1fdd73f89eefb78 (patch)
treeb10ef44a5c44b01074fdd656569b11e05e665bc3 /service-builtin
parentbd452d83322c611d337442d6e94e399910f6c8b6 (diff)
downloadCar-f305fc76b890d4f7bb3f4026c1fdd73f89eefb78.tar.gz
Add support for EXTERNAL_CAR_TIME in TimeHalService in CarServices.
When config_enableExternalCarTimeToExternalTimeSuggestion is enabled and the VHAL supports EXTERNAL_CAR_TIME, the TimeHalService sends ExternalTimeSuggestions to TimeManager system service for any updates received on the EXTERNAL_CAR_TIME VHAL property. Added support in TimeHalService for the new AIDL properties instead of the HIDL properties. Bug: 202377635 Bug: 202377490 Test: atest CarServiceUnitTest:VehicleHalTest CarServiceUnitTest:TimeHalServiceTest Change-Id: Iea5bb66a63fd494e884ba2a48861a46a86e03d5a
Diffstat (limited to 'service-builtin')
-rw-r--r--service-builtin/AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/service-builtin/AndroidManifest.xml b/service-builtin/AndroidManifest.xml
index 0189436662..a4ea90b884 100644
--- a/service-builtin/AndroidManifest.xml
+++ b/service-builtin/AndroidManifest.xml
@@ -942,6 +942,7 @@
<uses-permission android:name="android.permission.READ_LOGS"/>
<!-- Used by NotificationHelper to change the notifications app name -->
<uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
+ <uses-permission android:name="android.permission.SUGGEST_EXTERNAL_TIME" />
<application android:label="@string/app_title"
android:directBootAware="true"