Skip to content

Commit

Permalink
Create notification in PlayerService onCreate() method to avoid crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
cliambrown committed Aug 5, 2022
1 parent 9297c05 commit 4bfd07b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class PlayerService : Service(), SoundPool.OnLoadCompleteListener {
filter.addAction(CONNECTION_STATE_CHANGED)
filter.addAction(HEADSET_PLUG)
registerReceiver(outsidePauseReceiver, filter)
createNotification(false)
super.onCreate()
}

Expand Down
3 changes: 2 additions & 1 deletion fastlane/metadata/android/en-CA/changelogs/8.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- Long-pressing the Quick Settings tile now opens the app
- Long-pressing the Quick Settings tile now opens the app
- Create notification in PlayerService onCreate() method to avoid crashes
3 changes: 2 additions & 1 deletion fastlane/metadata/android/en-GB/changelogs/8.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- Long-pressing the Quick Settings tile now opens the app
- Long-pressing the Quick Settings tile now opens the app
- Create notification in PlayerService onCreate() method to avoid crashes
3 changes: 2 additions & 1 deletion fastlane/metadata/android/en-US/changelogs/8.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- Long-pressing the Quick Settings tile now opens the app
- Long-pressing the Quick Settings tile now opens the app
- Create notification in PlayerService onCreate() method to avoid crashes
3 changes: 2 additions & 1 deletion fastlane/metadata/android/fr-CA/changelogs/8.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- Une pression longue sur la tuile de configuration rapide ouvre désormais l'application.
- Une pression longue sur la tuile de configuration rapide ouvre désormais l'application.
- Création de la notification dans la méthode PlayerService onCreate() pour éviter les pannes.
3 changes: 2 additions & 1 deletion fastlane/metadata/android/fr-FR/changelogs/8.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- Une pression longue sur la tuile de configuration rapide ouvre désormais l'application.
- Une pression longue sur la tuile de configuration rapide ouvre désormais l'application.
- Création de la notification dans la méthode PlayerService onCreate() pour éviter les pannes.

0 comments on commit 4bfd07b

Please sign in to comment.