No longer call startForeground in onCreate.

This commit is contained in:
Clark 2023-06-22 10:04:42 -04:00 committed by Clark Chen
parent 1bdc77affe
commit 68042fc755

View file

@ -37,7 +37,6 @@ class FcmFetchForegroundService : Service() {
override fun onCreate() {
Log.d(TAG, "onCreate()")
postForegroundNotification()
}
override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {