From c18d4886582c5a857f9da63a51eac870497e034e Mon Sep 17 00:00:00 2001 From: Zhomart Mukhamejanov Date: Fri, 14 Dec 2018 10:36:20 -0800 Subject: Add verification before downloading whole package UpdateEngine has a feature that verifies payload without downloading the whole update package. If UpdateEngine detects invalid payload, the sample app aborts the update. No JUnit tests, because it accesses files on the device and migrating tests to robolectric is not worth for this sample app. Bug: 77150191 Test: device Change-Id: Ib8ce73508a02cf5fdcb326d8ba46c1d05ed5efe5 --- updater_sample/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'updater_sample/README.md') diff --git a/updater_sample/README.md b/updater_sample/README.md index 5894cf8cd..bc66a9bb4 100644 --- a/updater_sample/README.md +++ b/updater_sample/README.md @@ -220,7 +220,7 @@ privileged system app, so it's granted the required permissions to access - [x] Add Sample app update state (separate from update_engine status) - [x] Add smart update completion detection using onStatusUpdate - [x] Add pause/resume demo -- [-] Verify system partition checksum for package +- [x] Verify system partition checksum for package ## Running tests -- cgit v1.2.3