Nextrek
Diff Revisions
764
vs
765
for /Android/SmartCharging/SmartCharging/app/src/main/java/it/fedeloper/smartcharging/Controller/ManagerActivity.java
|
@@ -286,7 +286,13 @@ |
286 |
286 |
|
switch (code) { |
287 |
287 |
|
case 0: { |
288 |
288 |
|
Intent i = new Intent(ManagerActivity.this, SettingSelectionActivity.class); |
289 |
|
- |
Utils.toast(c, R.string.info_aggiornate); |
|
289 |
+ |
|
|
290 |
+ |
runOnUiThread(new Runnable() { |
|
291 |
+ |
@Override |
|
292 |
+ |
public void run() { |
|
293 |
+ |
Utils.toast(c, R.string.info_aggiornate); |
|
294 |
+ |
} |
|
295 |
+ |
}); |
290 |
296 |
|
startActivity(i); |
291 |
297 |
|
finish(); |
292 |
298 |
|
|