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

Commit 4a5565cd 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:...

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

Change-Id: Id858e299c19c5c9071a54a467e45c06e251065ee
parents 23ec9150 158fa522
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -114,7 +114,9 @@ public class KeyguardMediaPlayer {
            throw new IllegalStateException("cannot update controls, views not bound");
            throw new IllegalStateException("cannot update controls, views not bound");
        }
        }
        if (mediaMetadata == null) {
        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);
        mMediaNotifView.setVisibility(View.VISIBLE);