Skip to content

Commit

Permalink
add a fake code to check the feature
Browse files Browse the repository at this point in the history
  • Loading branch information
jesmrec committed Jan 30, 2025
1 parent e61ea92 commit eb83272
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ public void unregisterMediaController(MediaControlView mediaController) {
}

public boolean isInPlaybackState() {
MediaService.State currentState = mService.getState();
return (currentState == MediaService.State.PLAYING || currentState == MediaService.State.PAUSED);
MediaService.State currentState = mService.getState(); return (currentState == MediaService.State.PLAYING || currentState == MediaService.State.PAUSED);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ sealed class LocalStorageProvider(private val rootFolderName: String) {
spaceId: String?,
): String =
if (spaceId != null) {
getAccountDirectoryPath(accountName) + File.separator + spaceId + File.separator + remotePath
} else {
getAccountDirectoryPath(accountName) + remotePath
}
getAccountDirectoryPath(accountName) + File.separator + spaceId + File.separator + remotePath } else { getAccountDirectoryPath(accountName) + remotePath }

/**
* Get expected remote path for a file creation, rename, move etc
Expand Down

0 comments on commit eb83272

Please sign in to comment.