Commit a4f6c541 authored by Evan W. Patton's avatar Evan W. Patton Committed by Jeffrey Schiller

Fix logic bug in MakePhoneCallDirect (#1633)

parent 6cc36bd7
...@@ -151,7 +151,7 @@ public class PhoneCall extends AndroidNonvisibleComponent implements Component, ...@@ -151,7 +151,7 @@ public class PhoneCall extends AndroidNonvisibleComponent implements Component,
public void HandlePermissionResponse(String permission, boolean granted) { public void HandlePermissionResponse(String permission, boolean granted) {
if (granted) { if (granted) {
PhoneCall.this.havePermission = true; PhoneCall.this.havePermission = true;
PhoneCall.this.MakePhoneCall(); PhoneCall.this.MakePhoneCallDirect();
} else { } else {
form.dispatchPermissionDeniedEvent(PhoneCall.this, "MakePhoneCall", form.dispatchPermissionDeniedEvent(PhoneCall.this, "MakePhoneCall",
Manifest.permission.CALL_PHONE); Manifest.permission.CALL_PHONE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment