Fixed crash

pull/125/head
M66B 7 years ago
parent 0b5a7be200
commit 6a63e4e79a

@ -538,6 +538,9 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
@Override @Override
protected void onLoaded(Bundle args, UpdateInfo info) { protected void onLoaded(Bundle args, UpdateInfo info) {
if (info == null)
return;
final Intent update = new Intent(Intent.ACTION_VIEW, Uri.parse(info.html_url)); final Intent update = new Intent(Intent.ACTION_VIEW, Uri.parse(info.html_url));
if (update.resolveActivity(getPackageManager()) != null) if (update.resolveActivity(getPackageManager()) != null)
new AlertDialog.Builder(ActivityView.this) new AlertDialog.Builder(ActivityView.this)

Loading…
Cancel
Save