Skip to content

Commit

Permalink
Make mediaPlayer final
Browse files Browse the repository at this point in the history
  • Loading branch information
opendining committed Dec 21, 2022
1 parent 1fd5c22 commit a4dcdbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/OnNotificationReceiverFullscreenActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected void onCreate(Bundle savedInstanceState) {
);
}

MediaPlayer mediaPlayer = MediaPlayer.create(this, getResources().getIdentifier("ding", "raw", getPackageName()));
final MediaPlayer mediaPlayer = MediaPlayer.create(this, getResources().getIdentifier("ding", "raw", getPackageName()));
mediaPlayer.setLooping(true);
mediaPlayer.start();

Expand Down

0 comments on commit a4dcdbb

Please sign in to comment.