Fix NPE regression in version 0.44

This commit is contained in:
Fredrik Fornwall 2016-12-27 10:42:41 +01:00
parent f11644fa51
commit 23333c074a
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ public final class TermuxActivity extends Activity implements ServiceConnection
}
} else {
Intent i = getIntent();
if (i != null && i.getAction().equals(Intent.ACTION_RUN)) {
if (i != null && Intent.ACTION_RUN.equals(i.getAction())) {
// Android 7.1 app shortcut from res/xml/shortcuts.xml.
addNewSession(false, null);
} else {