diff options
author | Zhomart Mukhamejanov <zhomart@google.com> | 2018-05-01 21:05:22 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-05-01 21:05:22 +0200 |
commit | af5958818aa5319a131954b3e306ea20f08cff83 (patch) | |
tree | c7bdff9e0abf705aeb73156ac23036489496604c /updater_sample/src/com/example/android/systemupdatersample/ui/MainActivity.java | |
parent | Merge "recovery: Split main() into recovery_main.cpp." (diff) | |
parent | updater_sample: Improve UpdateConfig (diff) | |
download | android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.tar android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.tar.gz android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.tar.bz2 android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.tar.lz android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.tar.xz android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.tar.zst android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.zip |
Diffstat (limited to '')
-rw-r--r-- | updater_sample/src/com/example/android/systemupdatersample/ui/MainActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updater_sample/src/com/example/android/systemupdatersample/ui/MainActivity.java b/updater_sample/src/com/example/android/systemupdatersample/ui/MainActivity.java index 72e1b2469..8507a9e84 100644 --- a/updater_sample/src/com/example/android/systemupdatersample/ui/MainActivity.java +++ b/updater_sample/src/com/example/android/systemupdatersample/ui/MainActivity.java @@ -260,7 +260,7 @@ public class MainActivity extends Activity { * Applies the given update */ private void applyUpdate(UpdateConfig config) { - if (config.getInstallType() == UpdateConfig.TYPE_NON_STREAMING) { + if (config.getInstallType() == UpdateConfig.AB_INSTALL_TYPE_NON_STREAMING) { AbNonStreamingUpdate update = new AbNonStreamingUpdate(mUpdateEngine, config); try { update.execute(); |