mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
Fix NPE regression in version 0.44
This commit is contained in:
@@ -523,7 +523,7 @@ public final class TermuxActivity extends Activity implements ServiceConnection
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Intent i = getIntent();
|
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.
|
// Android 7.1 app shortcut from res/xml/shortcuts.xml.
|
||||||
addNewSession(false, null);
|
addNewSession(false, null);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user