-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use hardware volume keys from anywhere inside Kore (#453)
* Allow the RemoteActivity and BaseMediaActivity to show a volume controller dialog when hardware volume keys are pressed ** The dialog handles the key events and makes callbacks to the activities to handle showing the dialog itself * Minor improvements ** Make HighlightButton render in the IDE GUI Editor ** Minor code cleanup ** set currentActivePlayerId = -1; on playerOnStop in BaseMediaActivity to be more consistent resolves #235
- Loading branch information
1 parent
8fb24ee
commit 108fb88
Showing
9 changed files
with
400 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
app/src/main/java/org/xbmc/kore/ui/volumecontrollers/OnHardwareVolumeKeyPressedCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.xbmc.kore.ui.volumecontrollers; | ||
|
||
public interface OnHardwareVolumeKeyPressedCallback { | ||
void onHardwareVolumeKeyPressed(); | ||
} |
Oops, something went wrong.