mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-03 15:41:07 +01:00
Fix NPE regression in version 0.44
This commit is contained in:
parent
f11644fa51
commit
23333c074a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue