Skip to content

Commit 4292c0a

Browse files
committed
Fix NPE on caused by incorrect array index
Change-Id: I0c84618e1627d8c269a1b00389eb820b225a64e2
1 parent 5b7bf75 commit 4292c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/noshufou/android/su/InfoFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ protected void onProgressUpdate(Object... values) {
268268
mOutdatedNotification.setChecked((Boolean) values[1]);
269269
break;
270270
case 5:
271-
if (values[0] == null) {
271+
if (values[1] == null) {
272272
mSuOptionsRow.setVisibility(View.GONE);
273273
} else {
274274
boolean rooted = (Boolean) values[1];

0 commit comments

Comments
 (0)