|
@@ -521,7 +521,8 @@ public class FileDisplayActivity extends FileActivity
|
|
} else if (RESTART.equals(intent.getAction())) {
|
|
} else if (RESTART.equals(intent.getAction())) {
|
|
finish();
|
|
finish();
|
|
startActivity(intent);
|
|
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())) {
|
|
if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
|
|
setIntent(intent);
|
|
setIntent(intent);
|
|
|
|
|
|
@@ -563,7 +564,10 @@ public class FileDisplayActivity extends FileActivity
|
|
|
|
|
|
setLeftFragment(new GroupfolderListFragment());
|
|
setLeftFragment(new GroupfolderListFragment());
|
|
getSupportFragmentManager().executePendingTransactions();
|
|
getSupportFragmentManager().executePendingTransactions();
|
|
|
|
+ } else {
|
|
|
|
+ handleOpenFileViaIntent(intent);
|
|
}
|
|
}
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
private void onOpenFileIntent(Intent intent) {
|
|
private void onOpenFileIntent(Intent intent) {
|
|
@@ -2345,7 +2349,6 @@ public class FileDisplayActivity extends FileActivity
|
|
@Override
|
|
@Override
|
|
protected void onRestart() {
|
|
protected void onRestart() {
|
|
super.onRestart();
|
|
super.onRestart();
|
|
-
|
|
|
|
checkForNewDevVersionNecessary(getApplicationContext());
|
|
checkForNewDevVersionNecessary(getApplicationContext());
|
|
}
|
|
}
|
|
|
|
|