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

Commit a873ebde 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

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