@@ -119,7 +119,7 @@ public boolean execute(String action, JSONArray args, CallbackContext callbackCo
119
119
120
120
Runnable r = new RunnableThread (action , args , callbackContext );
121
121
122
- if (action .equals ("setLogging " )) {
122
+ if (action .equals ("enableLogging " )) {
123
123
cordova .getActivity ().runOnUiThread (r );
124
124
return true ;
125
125
} else if (action .equals ("setCookieBasedMatching" )) {
@@ -607,7 +607,7 @@ private void setCookieBasedMatching(String linkDomain, CallbackContext callbackC
607
607
* @param isEnable A {@link Boolean} value to enable/disable logging
608
608
* @param callbackContext A callback to execute at the end of this method
609
609
*/
610
- private void setLogging (boolean isEnable , CallbackContext callbackContext ) {
610
+ private void enableLogging (boolean isEnable , CallbackContext callbackContext ) {
611
611
this .activity = this .cordova .getActivity ();
612
612
if (isEnable == true ) {
613
613
Branch .enableLogging ();
@@ -1233,8 +1233,8 @@ public void run() {
1233
1233
try {
1234
1234
Log .d (LCAT , "Runnable: " + this .action );
1235
1235
1236
- if (this .action .equals ("setLogging " )) {
1237
- setLogging (this .args .getBoolean (0 ), this .callbackContext );
1236
+ if (this .action .equals ("enableLogging " )) {
1237
+ enableLogging (this .args .getBoolean (0 ), this .callbackContext );
1238
1238
} else if (this .action .equals ("setCookieBasedMatching" )) {
1239
1239
setCookieBasedMatching (this .args .getString (0 ), this .callbackContext );
1240
1240
} else if (this .action .equals ("disableTracking" )) {
0 commit comments