Skip to content

Commit

Permalink
fix(provider)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengxurui committed Sep 20, 2021
1 parent 8f818e6 commit dfcf194
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ class SensorProvider : ITrackProvider() {
*/
override fun onInit() {
Log.d(TAG, "Init Sensor provider.")

registerSuperProperties()
}

/**
* Do event track.
*/
override fun onEvent(eventName: String, params: TrackParams) {
Log.d(TAG, params.toString())

registerSuperProperties()
}

private fun registerSuperProperties() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ class UmengProvider : ITrackProvider() {
*/
override fun onInit() {
Log.d(TAG, "Init Umeng provider.")

registerSuperProperties()
}

/**
* Do event track.
*/
override fun onEvent(eventName: String, params: TrackParams) {
Log.d(TAG, params.toString())

registerSuperProperties()
}

private fun registerSuperProperties() {
Expand Down

0 comments on commit dfcf194

Please sign in to comment.