Skip to content

Commit c6fdb7f

Browse files
committed
SDK-1440 update android logging method
1 parent 9cf229a commit c6fdb7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/android/io/branch/BranchSDK.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public boolean execute(String action, JSONArray args, CallbackContext callbackCo
115115

116116
Runnable r = new RunnableThread(action, args, callbackContext);
117117

118-
if (action.equals("setDebug")) {
118+
if (action.equals("setLogging")) {
119119
cordova.getActivity().runOnUiThread(r);
120120
return true;
121121
} else if (action.equals("setCookieBasedMatching")) {
@@ -1158,8 +1158,8 @@ public void run() {
11581158
try {
11591159
Log.d(LCAT, "Runnable: " + this.action);
11601160

1161-
if (this.action.equals("setDebug")) {
1162-
setDebug(this.args.getBoolean(0), this.callbackContext);
1161+
if (this.action.equals("setLogging")) {
1162+
setLogging(this.args.getBoolean(0), this.callbackContext);
11631163
} else if (this.action.equals("setCookieBasedMatching")) {
11641164
setCookieBasedMatching(this.args.getString(0), this.callbackContext);
11651165
} else if (this.action.equals("disableTracking")) {

0 commit comments

Comments
 (0)