Updater updater_sample/README.md - build instructions.

Change-Id: Icbd577e3ceeec2766eca690b529b31f562df6fb2
Test: docs only
This commit is contained in:
Zhomart Mukhamejanov 2019-02-21 17:19:05 -08:00
parent d294935bf7
commit 011b5bbc06

View file

@ -191,7 +191,7 @@ privileged system app, so it's granted the required permissions to access
</privapp-permissions> </privapp-permissions>
``` ```
to `frameworks/base/data/etc/privapp-permissions-platform.xml` to `frameworks/base/data/etc/privapp-permissions-platform.xml`
5. Build sample app `mmma -j bootable/recovery/updater_sample`. 5. Build sample app `make -j SystemUpdaterSample`.
6. Build Android `make -j` 6. Build Android `make -j`
7. [Flash the device](https://source.android.com/setup/build/running) 7. [Flash the device](https://source.android.com/setup/build/running)
8. Add update config files; look above at `## Update Config file`; 8. Add update config files; look above at `## Update Config file`;
@ -225,7 +225,9 @@ privileged system app, so it's granted the required permissions to access
## Running tests ## Running tests
1. Build `mmma bootable/recovery/updater_sample/` The commands are expected to be run from `$ANDROID_BUILD_TOP`.
1. Build `make -j SystemUpdaterSample` and `make -j SystemUpdaterSampleTests`.
2. Install app 2. Install app
`adb install $OUT/system/priv-app/SystemUpdaterSample/SystemUpdaterSample.apk` `adb install $OUT/system/priv-app/SystemUpdaterSample/SystemUpdaterSample.apk`
3. Install tests 3. Install tests