diff --git a/Android.mk b/Android.mk index 351ecd8..6e2f1aa 100644 --- a/Android.mk +++ b/Android.mk @@ -8,8 +8,6 @@ LOCAL_PATH := $(call my-dir) ifeq ($(TARGET_DEVICE),RMX3031) -$(call add-radio-file,releasetools/dynamic-remove-oplus) - subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH)) $(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk))) diff --git a/releasetools/dynamic-remove-oplus b/releasetools/dynamic-remove-oplus deleted file mode 100644 index 3c68258..0000000 --- a/releasetools/dynamic-remove-oplus +++ /dev/null @@ -1,26 +0,0 @@ -# Remove my_product since it might be there and we're not building super or rewriting it -remove my_product - -# Remove my_engineering since it might be there and we're not building super or rewriting it -remove my_engineering - -# Remove my_company since it might be there and we're not building super or rewriting it -remove my_company - -# Remove my_carrier since it might be there and we're not building super or rewriting it -remove my_carrier - -# Remove my_region since it might be there and we're not building super or rewriting it -remove my_region - -# Remove my_heytap since it might be there and we're not building super or rewriting it -remove my_heytap - -# Remove my_stock since it might be there and we're not building super or rewriting it -remove my_stock - -# Remove my_preload since it might be there and we're not building super or rewriting it -remove my_preload - -# Remove my_manifest since it might be there and we're not building super or rewriting it -remove my_manifest diff --git a/releasetools/releasetools.py b/releasetools/releasetools.py index ec9d71c..202604d 100644 --- a/releasetools/releasetools.py +++ b/releasetools/releasetools.py @@ -17,9 +17,6 @@ import common def FullOTA_InstallBegin(info): - data = info.input_zip.read("RADIO/dynamic-remove-oplus") - common.ZipWriteStr(info.output_zip, "dynamic-remove-oplus", data) - info.script.AppendExtra('update_dynamic_partitions(package_extract_file("dynamic-remove-oplus"));') info.script.AppendExtra("ifelse(is_mounted(\"/apex\"), unmount(\"/apex\"));") return