@@ -33,10 +33,7 @@ class AdjustKit :
3333
3434 override fun getName (): String = KIT_NAME
3535
36- override fun onKitCreate (
37- settings : Map <String , String >,
38- context : Context ,
39- ): List <ReportingMessage > {
36+ override fun onKitCreate (settings : Map <String , String >, context : Context ): List <ReportingMessage > {
4037 val production = MParticle .Environment .Production == MParticle .getInstance()?.environment
4138 val config =
4239 AdjustConfig (
@@ -108,10 +105,7 @@ class AdjustKit :
108105 kitManager.onResult(deepLinkResult)
109106 }
110107
111- override fun onActivityCreated (
112- activity : Activity ,
113- savedInstanceState : Bundle ? ,
114- ) {}
108+ override fun onActivityCreated (activity : Activity , savedInstanceState : Bundle ? ) {}
115109
116110 override fun onActivityStarted (activity : Activity ) {}
117111
@@ -123,10 +117,7 @@ class AdjustKit :
123117
124118 override fun onActivityStopped (activity : Activity ) {}
125119
126- override fun onActivitySaveInstanceState (
127- activity : Activity ,
128- outState : Bundle ,
129- ) {}
120+ override fun onActivitySaveInstanceState (activity : Activity , outState : Bundle ) {}
130121
131122 override fun onActivityDestroyed (activity : Activity ) {}
132123
@@ -150,14 +141,13 @@ class AdjustKit :
150141
151142 @JvmStatic
152143 @Throws(JSONException ::class )
153- fun toJSON (attribution : AdjustAttribution ): JSONObject =
154- JSONObject ()
155- .putOpt(" tracker_token" , attribution.trackerToken)
156- .putOpt(" tracker_name" , attribution.trackerName)
157- .putOpt(" network" , attribution.network)
158- .putOpt(" campaign" , attribution.campaign)
159- .putOpt(" adgroup" , attribution.adgroup)
160- .putOpt(" creative" , attribution.creative)
161- .putOpt(" click_label" , attribution.clickLabel)
144+ fun toJSON (attribution : AdjustAttribution ): JSONObject = JSONObject ()
145+ .putOpt(" tracker_token" , attribution.trackerToken)
146+ .putOpt(" tracker_name" , attribution.trackerName)
147+ .putOpt(" network" , attribution.network)
148+ .putOpt(" campaign" , attribution.campaign)
149+ .putOpt(" adgroup" , attribution.adgroup)
150+ .putOpt(" creative" , attribution.creative)
151+ .putOpt(" click_label" , attribution.clickLabel)
162152 }
163153}
0 commit comments