Skip to content

Commit

Permalink
Fix NPE on caused by incorrect array index
Browse files Browse the repository at this point in the history
Change-Id: I0c84618e1627d8c269a1b00389eb820b225a64e2
  • Loading branch information
MongooseHelix committed Jul 24, 2012
1 parent 5b7bf75 commit 4292c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/noshufou/android/su/InfoFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ protected void onProgressUpdate(Object... values) {
mOutdatedNotification.setChecked((Boolean) values[1]);
break;
case 5:
if (values[0] == null) {
if (values[1] == null) {
mSuOptionsRow.setVisibility(View.GONE);
} else {
boolean rooted = (Boolean) values[1];
Expand Down

0 comments on commit 4292c0a

Please sign in to comment.