mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
Bugfix: Issue #9060 (Status bar with sorting/view mode disappears after playing video)
Signed-off-by: Lisa Kirchhofer <lisa.kirchhofer@bawagpsk.com>
This commit is contained in:
parent
2ceb34ae97
commit
0051189017
1 changed files with 2 additions and 5 deletions
|
@ -2186,13 +2186,10 @@ public class FileDisplayActivity extends FileActivity
|
||||||
}
|
}
|
||||||
if (showPreview && file.isDown() && !file.isDownloading() || streamMedia) {
|
if (showPreview && file.isDown() && !file.isDownloading() || streamMedia) {
|
||||||
showSortListGroup(false);
|
showSortListGroup(false);
|
||||||
CoordinatorLayout.LayoutParams params = (CoordinatorLayout.LayoutParams) findViewById(R.id.root_layout).getLayoutParams();
|
|
||||||
params.setBehavior(null);
|
|
||||||
|
|
||||||
Fragment mediaFragment = PreviewMediaFragment.newInstance(file, user.get(), startPlaybackPosition, autoplay);
|
Fragment mediaFragment = PreviewMediaFragment.newInstance(file, user.get(), startPlaybackPosition, autoplay);
|
||||||
setLeftFragment(mediaFragment);
|
setLeftFragment(mediaFragment);
|
||||||
updateActionBarTitleAndHomeButton(file);
|
binding.rightFragmentContainer.setVisibility(View.GONE);
|
||||||
setFile(file);
|
super.updateActionBarTitleAndHomeButton(file);
|
||||||
} else {
|
} else {
|
||||||
Intent previewIntent = new Intent();
|
Intent previewIntent = new Intent();
|
||||||
previewIntent.putExtra(EXTRA_FILE, file);
|
previewIntent.putExtra(EXTRA_FILE, file);
|
||||||
|
|
Loading…
Reference in a new issue