diff options
author | Zhomart Mukhamejanov <zhomart@google.com> | 2018-04-27 06:07:05 +0200 |
---|---|---|
committer | Zhomart Mukhamejanov <zhomart@google.com> | 2018-05-01 19:24:57 +0200 |
commit | 963e3eeb003093b3934dab7f1c73a4c46d75321c (patch) | |
tree | 8d0b851adf93072e1ebb3eb1561e9ee1a77e6d6c /updater_sample/src/com/example/android/systemupdatersample/ui/MainActivity.java | |
parent | Merge "Drop '#include "ui.h"' from device.h." (diff) | |
download | android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.gz android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.bz2 android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.lz android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.xz android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.zst android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.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(); |