mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
fix codacy warnings
This commit is contained in:
parent
edc9c5bdd4
commit
375a403d55
1 changed files with 1 additions and 4 deletions
|
@ -1730,10 +1730,7 @@ public class FileDisplayActivity extends HookActivity
|
|||
|
||||
public void setMediaServiceConnection() {
|
||||
mMediaServiceConnection = newMediaConnection();// mediaServiceConnection;
|
||||
if (mMediaServiceConnection != null) {
|
||||
bindService(new Intent(this, MediaService.class), mMediaServiceConnection,
|
||||
Context.BIND_AUTO_CREATE);
|
||||
}
|
||||
bindService(new Intent(this, MediaService.class), mMediaServiceConnection, Context.BIND_AUTO_CREATE);
|
||||
}
|
||||
|
||||
private void tryStopPlaying(OCFile file) {
|
||||
|
|
Loading…
Reference in a new issue