比如删除android.hardware.telephony.subscription
找到这个文件:frameworks/native/data/etc/android.hardware.telephony.subscription.xml
c
<!-- This is the standard set of features for devices to support Telephony Subscription API. -->
-<permissions>
+<permissions>
+ <!--
<feature name="android.hardware.telephony" />
- <!--
<feature name="android.hardware.telephony.subscription" />
-->
</permissions>