From 57bed6d8c9beace01b743580d6c878b0724d2f90 Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Tue, 15 Dec 2015 11:47:30 -0800 Subject: updater: Add a function to check first block Add and register a function to check if the device has been remounted since last update during incremental OTA. This function reads block 0 and executes before partition recovery for version >= 4. Bug: 21124327 Change-Id: I8b915b9f1d4736b3609daa9d16bd123225be357f (cherry picked from commit 30bf4765593e639966df9f460df22c3fe912e7bf) --- updater/install.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'updater/install.h') diff --git a/updater/install.h b/updater/install.h index 659c8b41c..70e343404 100644 --- a/updater/install.h +++ b/updater/install.h @@ -19,6 +19,9 @@ void RegisterInstallFunctions(); +// uiPrintf function prints msg to screen as well as logs +void uiPrintf(State* state, const char* format, ...); + static int make_parents(char* name); #endif -- cgit v1.2.3