|
@@ -386,12 +386,10 @@ public class PreviewImageActivity extends FileActivity implements
|
|
|
@SuppressFBWarnings("DLS")
|
|
|
@Override
|
|
|
public void showDetails(OCFile file) {
|
|
|
- final User currentUser = getUserAccountManager().getUser();
|
|
|
final Intent showDetailsIntent = new Intent(this, FileDisplayActivity.class);
|
|
|
showDetailsIntent.setAction(FileDisplayActivity.ACTION_DETAILS);
|
|
|
showDetailsIntent.putExtra(FileActivity.EXTRA_FILE, file);
|
|
|
- showDetailsIntent.putExtra(FileActivity.EXTRA_ACCOUNT, currentUser.toPlatformAccount());
|
|
|
- showDetailsIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
|
|
|
+ showDetailsIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
|
|
startActivity(showDetailsIntent);
|
|
|
finish();
|
|
|
}
|