fix codacy warnings

This commit is contained in:
AndyScherzinger 2017-07-23 18:13:31 +02:00 committed by tobiasKaminsky
parent edc9c5bdd4
commit 375a403d55
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -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) {