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) {
|
||||
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);
|
||||
setLeftFragment(mediaFragment);
|
||||
updateActionBarTitleAndHomeButton(file);
|
||||
setFile(file);
|
||||
binding.rightFragmentContainer.setVisibility(View.GONE);
|
||||
super.updateActionBarTitleAndHomeButton(file);
|
||||
} else {
|
||||
Intent previewIntent = new Intent();
|
||||
previewIntent.putExtra(EXTRA_FILE, file);
|
||||
|
|
Loading…
Reference in a new issue