Fix FlashActivity crash

This commit is contained in:
topjohnwu
2018-09-15 01:45:10 -04:00
parent 78534deab6
commit af7c6f9fce
5 changed files with 7 additions and 10 deletions
@@ -50,6 +50,7 @@ public class ViewBinder {
target.toolbar = target.findViewById(R.id.toolbar);
target.flashLogs = target.findViewById(R.id.txtLog);
target.buttonPanel = target.findViewById(R.id.button_panel);
target.sv = target.findViewById(R.id.scrollView);
target.findViewById(R.id.no_thanks).setOnClickListener(v -> target.finish());
target.findViewById(R.id.reboot).setOnClickListener(v -> target.reboot());
target.findViewById(R.id.save_logs).setOnClickListener(v -> target.saveLogs());