Fix build

This commit is contained in:
mittorn 2016-08-01 09:40:56 +00:00
parent 7db489df98
commit 7a10caf3df

View file

@ -318,12 +318,7 @@ public class LauncherActivity extends Activity {
try try
{ {
obj = releases.getJSONObject(i); obj = releases.getJSONObject(i);
}
catch(Exception e)
{
e.printStackTrace();
continue;
}
final String version, url, name; final String version, url, name;
final boolean beta = obj.getBoolean("prerelease"); 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. // No need to check other releases, so we will stop here.
break; break;
} }
catch(Exception e)
{
e.printStackTrace();
continue;
}
}
} }
} }
} }