App
android 11
build/make/target/product/base_system.mk
PRODUCT_PACKAGES += \
CtsShimPrebuilt \
CtsShimPrivPrebuilt \
BackupRestoreConfirmation \
build/make/target/product/handheld_system.mk
PRODUCT_PACKAGES += \
BasicDreams \
BookmarkProvider \
EasterEgg \
MmsService \
PacProcessor \
NfcNci \
SecureElement \
build/make/target/product/media_system.mk
PRODUCT_PACKAGES += \
HTMLViewer \
build/make/target/product/mainline_system.mk
PRODUCT_PACKAGES += \
LiveWallpapersPicker \
build/make/target/product/full_base.mk
PRODUCT_PACKAGES += \
LiveWallpapersPicker \
Feature
./frameworks/native/data/etc/tablet_core_hardware.xml
out/target/product/ceres-c3/vendor/etc/permissions/tablet_core_hardware.xml
<permissions>
<!-- This is Android and fully CTS compatible. Basically this is for CTS tests to use. -->
<!--<feature name="android.software.cts" />-->
<!-- basic hardware feature for tablet -->
<feature name="android.hardware.audio.output" />
<feature name="android.hardware.touchscreen.multitouch.distinct" />
<feature name="android.hardware.touchscreen.multitouch.jazzhand" />
<feature name="android.hardware.faketouch" />
<feature name="android.hardware.microphone" />
<feature name="android.hardware.screen.landscape" />
<feature name="android.hardware.screen.portrait" />
<!-- basic system services -->
<feature name="android.software.app_widgets" notLowRam="true" />
<feature name="android.software.voice_recognizers" notLowRam="true" />
<feature name="android.software.connectionservice" />
<feature name="android.software.backup" />
<feature name="android.software.home_screen" />
<feature name="android.software.input_methods" />
<feature name="android.software.picture_in_picture" notLowRam="true" />
<feature name="android.software.print" />
<feature name="android.software.companion_device_setup" />
<feature name="android.software.cant_save_state" />
<feature name="android.software.secure_lock_screen" />
<!-- Feature to specify if the device supports adding device admins. -->
<feature name="android.software.device_admin" />
<!-- Feature to specify if the device support managed users. -->
<feature name="android.software.managed_users" notLowRam="true"/>
</permissions>
裁减打印功能
diff --git a/android/build/make/target/product/handheld_system.mk b/android/build/make/target/product/handheld_system.mk
index a6e274135c..7a8a009ebb 100644
--- a/android/build/make/target/product/handheld_system.mk
+++ b/android/build/make/target/product/handheld_system.mk
@@ -50,7 +50,6 @@ PRODUCT_PACKAGES += \
librs_jni \
MtpDocumentsProvider \
PrintRecommendationService \
- PrintSpooler \
ProxyHandler \
screenrecord \
SharedStorageBackup \
diff --git a/android/build/make/target/product/handheld_system.mk b/android/build/make/target/product/handheld_system.mk
index 7a8a009ebb..0ce5379f20 100644
--- a/android/build/make/target/product/handheld_system.mk
+++ b/android/build/make/target/product/handheld_system.mk
@@ -35,7 +35,6 @@ PRODUCT_PACKAGES += \
BlockedNumberProvider \
Bluetooth \
BluetoothMidiService \
- BuiltInPrintService \
cameraserver \
CaptivePortalLogin \
CertInstaller \
@@ -49,7 +48,6 @@ PRODUCT_PACKAGES += \
KeyChain \
librs_jni \
MtpDocumentsProvider \
- PrintRecommendationService \
ProxyHandler \
screenrecord \
SharedStorageBackup \
diff --git a/android/frameworks/native/data/etc/tablet_core_hardware.xml b/android/frameworks/native/data/etc/tablet_core_hardware.xml
index 52524ca957..aa860e0697 100644
--- a/android/frameworks/native/data/etc/tablet_core_hardware.xml
+++ b/android/frameworks/native/data/etc/tablet_core_hardware.xml
@@ -47,7 +47,7 @@
<feature name="android.software.input_methods" />
<feature name="android.software.picture_in_picture" />
<feature name="android.software.activities_on_secondary_displays" />
- <feature name="android.software.print" />
+ <!--<feature name="android.software.print" />-->
<feature name="android.software.companion_device_setup" />
<feature name="android.software.autofill" />
<feature name="android.software.cant_save_state" />