catch deeplink in empty action

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-04-12 15:24:32 +02:00 committed by Andy Scherzinger
parent 348e1ce415
commit 321717f3cd

View file

@ -521,7 +521,8 @@ public class FileDisplayActivity extends FileActivity
} else if (RESTART.equals(intent.getAction())) {
finish();
startActivity(intent);
} else // Verify the action and get the query
} else {
// Verify the action and get the query
if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
setIntent(intent);
@ -563,7 +564,10 @@ public class FileDisplayActivity extends FileActivity
setLeftFragment(new GroupfolderListFragment());
getSupportFragmentManager().executePendingTransactions();
} else {
handleOpenFileViaIntent(intent);
}
}
}
private void onOpenFileIntent(Intent intent) {
@ -2345,7 +2349,6 @@ public class FileDisplayActivity extends FileActivity
@Override
protected void onRestart() {
super.onRestart();
checkForNewDevVersionNecessary(getApplicationContext());
}