diff options
author | Tianjie Xu <xunchang@google.com> | 2018-09-20 19:39:36 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-09-20 19:39:36 +0200 |
commit | 6c8c7c197553980145167b013a8f0b3ce0749db9 (patch) | |
tree | cca83203aea4eb1a39ce7c93864037376cd6f054 /Android.mk | |
parent | Merge "Show 'Enter Fastboot' menu item only if device supports fastbootd" (diff) | |
parent | Move the parse of last_install to recovery-persist (diff) | |
download | android_bootable_recovery-6c8c7c197553980145167b013a8f0b3ce0749db9.tar android_bootable_recovery-6c8c7c197553980145167b013a8f0b3ce0749db9.tar.gz android_bootable_recovery-6c8c7c197553980145167b013a8f0b3ce0749db9.tar.bz2 android_bootable_recovery-6c8c7c197553980145167b013a8f0b3ce0749db9.tar.lz android_bootable_recovery-6c8c7c197553980145167b013a8f0b3ce0749db9.tar.xz android_bootable_recovery-6c8c7c197553980145167b013a8f0b3ce0749db9.tar.zst android_bootable_recovery-6c8c7c197553980145167b013a8f0b3ce0749db9.zip |
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 9 |
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) |