mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 10:18:59 +03:00
Merge pull request #826 from nextcloud/fix_bug_firstlogin
Fix bug firstlogin
This commit is contained in:
commit
1a18de8cc4
2 changed files with 1 additions and 3 deletions
|
@ -315,7 +315,7 @@ public class FileDisplayActivity extends HookActivity
|
|||
if (grantResults.length > 0
|
||||
&& grantResults[0] == PackageManager.PERMISSION_GRANTED) {
|
||||
// permission was granted
|
||||
startSynchronization();
|
||||
refreshList(true);
|
||||
// toggle on is save since this is the only scenario this code gets accessed
|
||||
} else {
|
||||
// permission denied --> do nothing
|
||||
|
|
|
@ -681,8 +681,6 @@ public class PreviewMediaFragment extends FileFragment implements
|
|||
}
|
||||
|
||||
private void prepareMediaController() {
|
||||
mMultiView.setVisibility(View.GONE);
|
||||
mPreviewContainer.setVisibility(View.VISIBLE);
|
||||
mMediaServiceBinder.registerMediaController(mMediaController);
|
||||
if (mMediaController != null) {
|
||||
mMediaController.setMediaPlayer(mMediaServiceBinder);
|
||||
|
|
Loading…
Reference in a new issue