Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Commit

Permalink
Update OrangeSqueezeReceiver.java
Browse files Browse the repository at this point in the history
While testing I noticed some track were missed b/c I only track one of the two major intent broadcasts.
  • Loading branch information
Austin H committed Aug 11, 2019
1 parent b9a3d62 commit f967a36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected void parseIntent(Context ctx, String action, Bundle bundle) {
ctx, APP_NAME, APP_PACKAGE, null, false);
setMusicAPI(musicAPI);

if (action.equals(ACTION_ORANGE_METACHANGED)) {
if (action.equals(ACTION_ORANGE_PLAYSTATECHANGED) || action.equals((ACTION_ORANGE_METACHANGED))){
boolean isPlaying = bundle.getBoolean("isplaying");
boolean isPaused = bundle.getBoolean("ispaused");
if (isPaused) {
Expand Down

0 comments on commit f967a36

Please sign in to comment.