Make PlayerHolder.bound private
This commit is contained in:
parent
96eb1425f8
commit
a163d5461d
2 changed files with 7 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ public final class PlayerHolder {
|
|||
private PlayerServiceExtendedEventListener listener;
|
||||
|
||||
private final PlayerServiceConnection serviceConnection = new PlayerServiceConnection();
|
||||
public boolean bound;
|
||||
private boolean bound;
|
||||
private MainPlayer playerService;
|
||||
private Player player;
|
||||
|
||||
|
|
@ -70,6 +70,10 @@ public final class PlayerHolder {
|
|||
return player != null;
|
||||
}
|
||||
|
||||
public boolean isBound() {
|
||||
return bound;
|
||||
}
|
||||
|
||||
public int getQueueSize() {
|
||||
return isPlayerOpen() ? player.getPlayQueue().size() : 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue