diff options
author | Zhomart Mukhamejanov <zhomart@google.com> | 2018-08-02 03:24:00 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-08-02 03:24:00 +0200 |
commit | 67b66c019ac5760b5e6d9e1280f2d36cec509956 (patch) | |
tree | 152a02babbc93f0a5f27c43b4c4b5997b82a0526 | |
parent | Merge "minui: Clean up the use of `rotation`." am: a9ef617aa7 am: f22aeefaed am: f4e7bec485 (diff) | |
parent | Merge "Remove non-A/B mention from README." am: f8b04fe48d am: a5d6a661c6 (diff) | |
download | android_bootable_recovery-67b66c019ac5760b5e6d9e1280f2d36cec509956.tar android_bootable_recovery-67b66c019ac5760b5e6d9e1280f2d36cec509956.tar.gz android_bootable_recovery-67b66c019ac5760b5e6d9e1280f2d36cec509956.tar.bz2 android_bootable_recovery-67b66c019ac5760b5e6d9e1280f2d36cec509956.tar.lz android_bootable_recovery-67b66c019ac5760b5e6d9e1280f2d36cec509956.tar.xz android_bootable_recovery-67b66c019ac5760b5e6d9e1280f2d36cec509956.tar.zst android_bootable_recovery-67b66c019ac5760b5e6d9e1280f2d36cec509956.zip |
-rw-r--r-- | updater_sample/README.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/updater_sample/README.md b/updater_sample/README.md index f6a2a044b..306e71e5b 100644 --- a/updater_sample/README.md +++ b/updater_sample/README.md @@ -1,9 +1,8 @@ # SystemUpdaterSample This app demonstrates how to use Android system updates APIs to install -[OTA updates](https://source.android.com/devices/tech/ota/). It contains a sample -client for `update_engine` to install A/B (seamless) updates and a sample of -applying non-A/B updates using `recovery`. +[OTA updates](https://source.android.com/devices/tech/ota/). It contains a +sample client for `update_engine` to install A/B (seamless) updates. A/B (seamless) update is available since Android Nougat (API 24), but this sample targets the latest android. @@ -180,7 +179,8 @@ privileged system app, so it's granted the required permissions to access `update_engine` service as well as OTA package files. Detailed steps are as follows: 1. [Prepare to build](https://source.android.com/setup/build/building) -2. Add the module (SystemUpdaterSample) to the `PRODUCT_PACKAGES` list for the lunch target. +2. Add the module (SystemUpdaterSample) to the `PRODUCT_PACKAGES` list for the + lunch target. e.g. add a line containing `PRODUCT_PACKAGES += SystemUpdaterSample` to `device/google/marlin/device-common.mk`. 3. [Whitelist the sample app](https://source.android.com/devices/tech/config/perms-whitelist) @@ -221,7 +221,6 @@ privileged system app, so it's granted the required permissions to access - [x] Add smart update completion detection using onStatusUpdate - [x] Add pause/resume demo - [ ] Verify system partition checksum for package -- [?] Add non-A/B updates demo ## Running tests @@ -243,7 +242,8 @@ privileged system app, so it's granted the required permissions to access ## Accessing `android.os.UpdateEngine` API -`android.os.UpdateEngine`` APIs are marked as `@SystemApi`, meaning only system apps can access them. +`android.os.UpdateEngine` APIs are marked as `@SystemApi`, meaning only system +apps can access them. ## Getting read/write access to `/data/ota_package/` |