Skip to content

Commit

Permalink
Fix NPE in UpdateService
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasKypta committed Oct 11, 2016
1 parent b8e67cb commit afb2d4b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ public void onCreate() {

@Override
protected void onHandleIntent(Intent intent) {
if (intent == null) {
return;
}
final boolean force = intent.getBooleanExtra("force", false);
try {
Locale loc = Locale.getDefault();
Expand Down

0 comments on commit afb2d4b

Please sign in to comment.