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

Commit 9af5f0c7 authored by RazorSharp's avatar RazorSharp Committed by Steve Kondik
Browse files

CodeCleanup : Remove redundant Type Casting

Change-Id: I1d539acc4e8bae4a0f9996297936e5c862679660
parent 81cd3448
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ public class MediaButtonIntentReceiver extends WakefulBroadcastReceiver {
        if (AudioManager.ACTION_AUDIO_BECOMING_NOISY.equals(intentAction)) {
            startService(context, MusicPlaybackService.CMDPAUSE);
        } else if (Intent.ACTION_MEDIA_BUTTON.equals(intentAction)) {
            final KeyEvent event = (KeyEvent)intent.getParcelableExtra(Intent.EXTRA_KEY_EVENT);
            final KeyEvent event = intent.getParcelableExtra(Intent.EXTRA_KEY_EVENT);
            if (event == null) {
                return;
            }
@@ -221,3 +221,4 @@ public class MediaButtonIntentReceiver extends WakefulBroadcastReceiver {
        }
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ public class ArtistDetailFragment extends FadingBarFragment implements IChildFra

    private void setupSongList() {
        mSongs = (ListView)mRootView.findViewById(R.id.songs);
        mHeader = (ViewGroup)LayoutInflater.from(getActivity()).
        mHeader = LayoutInflater.from(getActivity()).
                inflate(R.layout.artist_detail_header, mSongs, false);
        mSongs.addHeaderView(mHeader);
        mSongs.setOnScrollListener(this);