Fix build
This commit is contained in:
parent
7db489df98
commit
7a10caf3df
1 changed files with 38 additions and 37 deletions
|
@ -318,12 +318,7 @@ public class LauncherActivity extends Activity {
|
|||
try
|
||||
{
|
||||
obj = releases.getJSONObject(i);
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
continue;
|
||||
}
|
||||
|
||||
final String version, url, name;
|
||||
final boolean beta = obj.getBoolean("prerelease");
|
||||
|
||||
|
@ -362,6 +357,12 @@ public class LauncherActivity extends Activity {
|
|||
// No need to check other releases, so we will stop here.
|
||||
break;
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue