diff --git a/lineage_pipa.mk b/lineage_pipa.mk index f18b402..8af6617 100644 --- a/lineage_pipa.mk +++ b/lineage_pipa.mk @@ -11,6 +11,10 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) # Inherit some common lineage stuff. $(call inherit-product, vendor/lineage/config/common_full_tablet_wifionly.mk) + +# Bypass Charging +BYPASS_CHARGE_SUPPORTED := true + # Inherit from pipa device $(call inherit-product, device/xiaomi/pipa/device.mk) @@ -21,7 +25,6 @@ $(call inherit-product, vendor/lineage-priv/keys/keys.mk) MIST_BUILD_TYPE := OFFICIAL MISTOS_MAINTAINER := Mufasa WITH_GMS := true -TARGET_USES_PICO_GAPPS := true PRODUCT_NO_CAMERA := false TARGET_DISABLE_EPPE := true diff --git a/sepolicy/vendor/init.te b/sepolicy/vendor/init.te new file mode 100644 index 0000000..76f731e --- /dev/null +++ b/sepolicy/vendor/init.te @@ -0,0 +1 @@ +allow init sysfs_battery_supply:file rw_file_perms;