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

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

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

Change-Id: I6f857af2e2815d6189d46a4b77f41b35189643f5
parents 53ace239 b9bd2964
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);