Skip to content

Commit

Permalink
Merge pull request mozilla#607 from garvankeeley/gub601
Browse files Browse the repository at this point in the history
Fix mozilla#601, check for null apk uri to prevent crash
  • Loading branch information
cpeterso committed May 22, 2014
2 parents 2e4d0f6 + d4a5aae commit 0d13d88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/org/mozilla/mozstumbler/Updater.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ public File doInBackground(Void... params) {

@Override
public void onPostExecute(File result){
installPackage(context, result);
if (result != null) {
installPackage(context, result);
}
}
}.execute();
}
Expand Down

0 comments on commit 0d13d88

Please sign in to comment.