We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0d229a commit 92e7febCopy full SHA for 92e7feb
app/src/main/java/org/schabi/newpipe/player/PlayerService.kt
@@ -180,7 +180,8 @@ class PlayerService : MediaBrowserServiceCompat() {
180
}
181
182
override fun onBind(intent: Intent): IBinder? {
183
- if (SERVICE_INTERFACE == intent.getAction()) {
+ if (SERVICE_INTERFACE == intent.action) {
184
+ // For actions related to the media browser service, pass the onBind to the superclass
185
return super.onBind(intent)
186
187
return mBinder
0 commit comments