From 5313b5f871fd74e08d986a70a918534fd0fee178 Mon Sep 17 00:00:00 2001 From: Philip Chen Date: Wed, 14 Dec 2022 14:23:34 -0800 Subject: Move automotive display service to /system_ext Automotive display service is not required on every AAOS device. To achieve a shared system image across devices, we should move this service from system partition to system_ext partition. Bug: 246656948 Test: Build aosp_cf_x86_64_only_auto target and run CarEvsCameraPreviweApp. Change-Id: I30ffb2d90d21d9c9906f5f4bfd4b2819cca866d5 --- services/automotive/display/Android.bp | 2 ++ .../display/android.frameworks.automotive.display@1.0-service.rc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/services/automotive/display/Android.bp b/services/automotive/display/Android.bp index 72bd29254d..614a78ecc7 100644 --- a/services/automotive/display/Android.bp +++ b/services/automotive/display/Android.bp @@ -53,4 +53,6 @@ cc_binary { vintf_fragments: [ "manifest_android.frameworks.automotive.display@1.0.xml", ], + + system_ext_specific: true, } diff --git a/services/automotive/display/android.frameworks.automotive.display@1.0-service.rc b/services/automotive/display/android.frameworks.automotive.display@1.0-service.rc index 5c7f344486..ea1077a555 100644 --- a/services/automotive/display/android.frameworks.automotive.display@1.0-service.rc +++ b/services/automotive/display/android.frameworks.automotive.display@1.0-service.rc @@ -1,4 +1,4 @@ -service automotive_display /system/bin/android.frameworks.automotive.display@1.0-service +service automotive_display /system_ext/bin/android.frameworks.automotive.display@1.0-service class hal user graphics group automotive_evs -- cgit v1.2.3-59-g8ed1b