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

Commit 16d4f578 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Merge "Don't crash if media metadata isn't available" into rvc-dev am:...

Merge "Merge "Don't crash if media metadata isn't available" into rvc-dev am: b9bd2964 am: d4c533f6" into rvc-d1-dev-plus-aosp am: cadc083f am: d8d8ff47

Change-Id: Ie27650e260c25533430ba9c7e98d71dc0da2078d
parents f15ec28a d8d8ff47
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -114,7 +114,9 @@ public class KeyguardMediaPlayer {
            throw new IllegalStateException("cannot update controls, views not bound");
        }
        if (mediaMetadata == null) {
            throw new IllegalArgumentException("media metadata was null");
            mMediaNotifView.setVisibility(View.GONE);
            Log.d(TAG, "media metadata was null");
            return;
        }
        mMediaNotifView.setVisibility(View.VISIBLE);