mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 14:45:47 +03:00
catch deeplink in empty action
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
348e1ce415
commit
321717f3cd
1 changed files with 5 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue