save some time by building data-only

This commit is contained in:
Damillora 2022-06-23 23:31:33 +07:00
parent 213354dbb3
commit aba8e75328
2 changed files with 8 additions and 3 deletions

View File

@ -17,7 +17,7 @@ PRODUCT_PACKAGE_OVERLAYS += device/phh/treble/overlay
$(call inherit-product, vendor/hardware_overlay/overlay.mk) $(call inherit-product, vendor/hardware_overlay/overlay.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
#Those overrides are here because Huawei's init read properties #Those overrides are here because Huawei's init read properties
#from /system/etc/prop.default, then /vendor/build.prop, then /system/build.prop #from /system/etc/prop.default, then /vendor/build.prop, then /system/build.prop
@ -157,8 +157,8 @@ PRODUCT_PACKAGES += \
xiaomi-motor \ xiaomi-motor \
oneplus-motor oneplus-motor
PRODUCT_PACKAGES += \ #PRODUCT_PACKAGES += \
Stk # Stk
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
resetprop_phh resetprop_phh

View File

@ -25,6 +25,11 @@
<bool name="config_unplugTurnsOnScreen">true</bool> <bool name="config_unplugTurnsOnScreen">true</bool>
<integer name="config_multiuserMaximumUsers">5</integer> <integer name="config_multiuserMaximumUsers">5</integer>
<bool name="config_enableMultiUserUI">true</bool> <bool name="config_enableMultiUserUI">true</bool>
<!-- This device is data-only. -->
<bool name="config_voice_capable">false</bool>
<!-- This device does not allow sms service. -->
<bool name="config_sms_capable">false</bool>
<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string> <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
<bool name="config_swipe_up_gesture_setting_available">true</bool> <bool name="config_swipe_up_gesture_setting_available">true</bool>