mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-04-30 15:29:51 +00:00
v2.7
This commit is contained in:
parent
38cfb38b3f
commit
28eea7d2c3
41 changed files with 2323 additions and 371 deletions
|
|
@ -441,10 +441,10 @@ public class CustomRomActivity extends AppCompatActivity {
|
|||
loadingPb.setVisibility(View.GONE);
|
||||
custom.setVisibility(View.VISIBLE);
|
||||
addRomBtn.setEnabled(isFilled(title) && isFilled(icon) && isFilled(drive));
|
||||
MainActivity.UIAlert("error", e.toString(), activity);
|
||||
}
|
||||
};
|
||||
activity.runOnUiThread(runnable);
|
||||
MainActivity.UIAlert("error", e.toString(), activity);
|
||||
}
|
||||
}
|
||||
}).start();
|
||||
|
|
@ -487,8 +487,13 @@ public class CustomRomActivity extends AppCompatActivity {
|
|||
*/
|
||||
}
|
||||
} catch (IOException e) {
|
||||
UIUtils.toastLong(activity, e.toString());
|
||||
throw new RuntimeException(e);
|
||||
Runnable runnable = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
UIUtils.toastLong(activity, e.toString());
|
||||
}
|
||||
};
|
||||
activity.runOnUiThread(runnable);
|
||||
} finally {
|
||||
Runnable runnable = new Runnable() {
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue