Loading packages/SystemUI/src/com/android/keyguard/KeyguardMediaPlayer.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -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); Loading Loading
packages/SystemUI/src/com/android/keyguard/KeyguardMediaPlayer.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -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); Loading