From 2711a9cb62e83e493f1732084b93a8946f9cf355 Mon Sep 17 00:00:00 2001
From: kubersharma001 <kubersharma001@gmail.com>
Date: Wed, 5 Feb 2020 22:56:53 +0000
Subject: [PATCH] onclite: Do not enable updatable APEXes

This reverts commit 48a38b2fdcf02a1a01b1df5165b13b295f44307e.

It can't really be enabled for our device, as apexd requires /data/apex
to be available right after boot to update all the Android modules.
As in all FDE devices, /data/apex is encrypted until the device
is unlocked by the user, rendering APEX basically useless as only
the system APEX variants will be loaded at boot.

Change-Id: I0649862e5c5b2c1a1cb597914a11df79b3e01957
---
 device.mk | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/device.mk b/device.mk
index 61408f0..93f3bc7 100644
--- a/device.mk
+++ b/device.mk
@@ -16,9 +16,6 @@
 
 $(call inherit-product, vendor/xiaomi/onclite/onclite-vendor.mk)
 
-# Enable updating of APEXes
-$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
-
 # Overlays
 DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
 DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
-- 
GitLab