summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Chabot <brettchabot@google.com>2024-03-25 15:25:58 +0000
committerBrett Chabot <brettchabot@google.com>2024-03-25 15:25:58 +0000
commitece05ba1b74b5725f40d15b2ef41020708ebae31 (patch)
tree6c1ffd816ae7486c386c06379c1fcb90b5ef0d6c
parent0734a63dfcbd47ca75cb9602d145088628060856 (diff)
downloadgoldfish-ece05ba1b74b5725f40d15b2ef41020708ebae31.tar.gz
Add missing hardware features to slim emulator image.
This resolves the phone app crash looping with 'getActiveSubIdList is unsupported without android.hardware.telephony.subscription' Bug: 330928304 Test: boot and inspect logcat Change-Id: Ie41c9efa31aaeb43b93a3b38aeefd42949a730b4
-rw-r--r--slim/data/etc/slim_handheld_core_hardware.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/slim/data/etc/slim_handheld_core_hardware.xml b/slim/data/etc/slim_handheld_core_hardware.xml
index 7f17a64f..1be53c11 100644
--- a/slim/data/etc/slim_handheld_core_hardware.xml
+++ b/slim/data/etc/slim_handheld_core_hardware.xml
@@ -45,7 +45,12 @@ This file should be almost identical to device/generic/goldfish/data/etc/handhel
<feature name="android.hardware.sensor.gyroscope" />
<feature name="android.hardware.sensor.hinge_angle" />
<feature name="android.hardware.telephony" />
+ <feature name="android.hardware.telephony.calling" />
+ <feature name="android.hardware.telephony.data" />
<feature name="android.hardware.telephony.gsm" />
+ <feature name="android.hardware.telephony.ims" />
+ <feature name="android.hardware.telephony.radio.access" />
+ <feature name="android.hardware.telephony.subscription" />
<feature name="android.hardware.touchscreen" />
<feature name="android.hardware.microphone" />
<feature name="android.hardware.screen.portrait" />
@@ -62,6 +67,7 @@ This file should be almost identical to device/generic/goldfish/data/etc/handhel
<feature name="android.software.print" />
<feature name="android.software.cant_save_state" />
<feature name="android.software.companion_device_setup" />
+ <feature name="android.software.credentials" />
<!-- Feature to specify if the device supports adding device admins. -->
<feature name="android.software.device_admin" />
@@ -73,6 +79,8 @@ This file should be almost identical to device/generic/goldfish/data/etc/handhel
<feature name="android.software.cts" />
+ <feature name="android.hardware.security.model.compatible" />
+
<!-- Feature to specify if the device supports controls. -->
<feature name="android.software.controls" />