summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-09-06 20:58:55 +0200
committerTianjie Xu <xunchang@google.com>2018-09-13 22:27:55 +0200
commit2b1a464a7045134b0980def4ea906b98ab3616f1 (patch)
tree9a58a8c7a23b44d3ca3d2e52c12041088d777d6d /Android.mk
parentMerge "Fix sideload for user devices by adding a new sideload config" (diff)
downloadandroid_bootable_recovery-2b1a464a7045134b0980def4ea906b98ab3616f1.tar
android_bootable_recovery-2b1a464a7045134b0980def4ea906b98ab3616f1.tar.gz
android_bootable_recovery-2b1a464a7045134b0980def4ea906b98ab3616f1.tar.bz2
android_bootable_recovery-2b1a464a7045134b0980def4ea906b98ab3616f1.tar.lz
android_bootable_recovery-2b1a464a7045134b0980def4ea906b98ab3616f1.tar.xz
android_bootable_recovery-2b1a464a7045134b0980def4ea906b98ab3616f1.tar.zst
android_bootable_recovery-2b1a464a7045134b0980def4ea906b98ab3616f1.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index 80d107dc4..7be123069 100644
--- a/Android.mk
+++ b/Android.mk
@@ -71,10 +71,13 @@ LOCAL_REQUIRED_MODULES += \
endif
endif
+# On A/B devices recovery-persist reads the recovery related file from the persist storage and
+# copies them into /data/misc/recovery. Then, for both A/B and non-A/B devices, recovery-persist
+# parses the last_install file and reports the embedded update metrics. Also, the last_install file
+# will be deteleted after the report.
+LOCAL_REQUIRED_MODULES += recovery-persist
ifeq ($(BOARD_CACHEIMAGE_PARTITION_SIZE),)
-LOCAL_REQUIRED_MODULES += \
- recovery-persist \
- recovery-refresh
+LOCAL_REQUIRED_MODULES += recovery-refresh
endif
include $(BUILD_PHONY_PACKAGE)