Skip to content

Commit

Permalink
Code reformat made for MyHuaweiMessagingService.
Browse files Browse the repository at this point in the history
  • Loading branch information
halilozel1903 committed Nov 27, 2022
1 parent da6d171 commit a8035b4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ import com.huawei.hms.push.RemoteMessage

class MyHuaweiMessagingService : HmsMessageService() {

companion object {
private const val TAG = "MyHuaweiMessagingService"
}

override fun onNewToken(token: String?) {
super.onNewToken(token)
println("Token : $token")
Expand Down Expand Up @@ -48,4 +44,8 @@ class MyHuaweiMessagingService : HmsMessageService() {
getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
notificationManager.notify(0, notificationBuilder.build())
}

companion object {
private const val TAG = "MyHuaweiMessagingService"
}
}

0 comments on commit a8035b4

Please sign in to comment.