Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7adaa8f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Don't remove controls prematurely" into rvc-dev am: 7f921730 am: c7c05f83

Change-Id: Ib046d2256f741354e9ebf4a20f138fffd561333d
parents 7f6e35fd c7c05f83
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -632,8 +632,10 @@ public class MediaControlPanel {
                    public void onError() {
                    public void onError() {
                        Log.d(TAG, "Cannot resume with " + componentName);
                        Log.d(TAG, "Cannot resume with " + componentName);
                        mServiceComponent = null;
                        mServiceComponent = null;
                        clearControls();
                        if (!hasMediaSession()) {
                        // remove
                            // If it's not active and we can't resume, remove
                            removePlayer();
                        }
                    }
                    }
                },
                },
                componentName);
                componentName);