From 810cc575cff98eee406038aaebbed6fcc5ffdc99 Mon Sep 17 00:00:00 2001 From: jhenrique09 Date: Mon, 20 Nov 2017 00:20:34 -0200 Subject: [PATCH] sanders: Disable dexpreopt for some modules --- dexpreopt.mk | 7 +++++++ full_sanders.mk | 1 + 2 files changed, 8 insertions(+) create mode 100644 dexpreopt.mk diff --git a/dexpreopt.mk b/dexpreopt.mk new file mode 100644 index 0000000..bd8ff6a --- /dev/null +++ b/dexpreopt.mk @@ -0,0 +1,7 @@ +$(call add-product-dex-preopt-module-config,services,disable) +$(call add-product-dex-preopt-module-config,ethernet-service,disable) +$(call add-product-dex-preopt-module-config,wifi-service,disable) +$(call add-product-dex-preopt-module-config,SettingsProvider,disable) +$(call add-product-dex-preopt-module-config,Telecom,disable) +$(call add-product-dex-preopt-module-config,com.android.location.provider,disable) +$(call add-product-dex-preopt-module-config,FusedLocation,disable) diff --git a/full_sanders.mk b/full_sanders.mk index b27aa35..fc7a221 100644 --- a/full_sanders.mk +++ b/full_sanders.mk @@ -16,6 +16,7 @@ # Inherit from potter device $(call inherit-product, device/motorola/sanders/device.mk) +$(call inherit-product, device/motorola/sanders/dexpreopt.mk) # Device identifier. This must come after all inclusions PRODUCT_DEVICE := sanders