Skip to content

Commit

Permalink
don't send activate app with null app id
Browse files Browse the repository at this point in the history
  • Loading branch information
Collin committed Mar 22, 2021
1 parent 7fad546 commit 466c1f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/controller/sdl/MediaController.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ SDL.SDLMediaController = Em.Object.create(
* Restore current application to active state
*/
activateCurrentApp: function() {
FFW.BasicCommunication.ActivateApp(this.currentAppId);
if (this.currentAppId) {
FFW.BasicCommunication.ActivateApp(this.currentAppId);
}
},
/**
* Deactivate specific application
Expand Down

0 comments on commit 466c1f1

Please sign in to comment.