diff options
author | Zhomart Mukhamejanov <zhomart@google.com> | 2018-12-14 18:36:32 +0100 |
---|---|---|
committer | Zhomart Mukhamejanov <zhomart@google.com> | 2018-12-17 19:56:28 +0100 |
commit | bc07775393675517ecf9369f805a43e5b0929dcf (patch) | |
tree | a79034ef1f705a19026cdb07a095d51d1a2d7d65 /updater_sample/src/com/example/android/systemupdatersample/ui/MainActivity.java | |
parent | Merge "Show wipe data confirmation text in recovery mode" (diff) | |
download | android_bootable_recovery-bc07775393675517ecf9369f805a43e5b0929dcf.tar android_bootable_recovery-bc07775393675517ecf9369f805a43e5b0929dcf.tar.gz android_bootable_recovery-bc07775393675517ecf9369f805a43e5b0929dcf.tar.bz2 android_bootable_recovery-bc07775393675517ecf9369f805a43e5b0929dcf.tar.lz android_bootable_recovery-bc07775393675517ecf9369f805a43e5b0929dcf.tar.xz android_bootable_recovery-bc07775393675517ecf9369f805a43e5b0929dcf.tar.zst android_bootable_recovery-bc07775393675517ecf9369f805a43e5b0929dcf.zip |
Diffstat (limited to 'updater_sample/src/com/example/android/systemupdatersample/ui/MainActivity.java')
-rw-r--r-- | updater_sample/src/com/example/android/systemupdatersample/ui/MainActivity.java | 4 |
1 files changed, 2 insertions, 2 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 fc9fddd70..6d1e4c35a 100644 --- a/updater_sample/src/com/example/android/systemupdatersample/ui/MainActivity.java +++ b/updater_sample/src/com/example/android/systemupdatersample/ui/MainActivity.java @@ -21,6 +21,7 @@ import android.app.AlertDialog; import android.graphics.Color; import android.os.Build; import android.os.Bundle; +import android.os.Handler; import android.os.UpdateEngine; import android.util.Log; import android.view.View; @@ -34,7 +35,6 @@ import com.example.android.systemupdatersample.R; import com.example.android.systemupdatersample.UpdateConfig; import com.example.android.systemupdatersample.UpdateManager; import com.example.android.systemupdatersample.UpdaterState; -import com.example.android.systemupdatersample.util.PayloadSpecs; import com.example.android.systemupdatersample.util.UpdateConfigs; import com.example.android.systemupdatersample.util.UpdateEngineErrorCodes; import com.example.android.systemupdatersample.util.UpdateEngineStatuses; @@ -67,7 +67,7 @@ public class MainActivity extends Activity { private List<UpdateConfig> mConfigs; private final UpdateManager mUpdateManager = - new UpdateManager(new UpdateEngine(), new PayloadSpecs()); + new UpdateManager(new UpdateEngine(), new Handler()); @Override protected void onCreate(Bundle savedInstanceState) { |