title: Is there a way to set onclick listener to USSD dialog buttons?
body: <p>I'm writing an App that interfaces with a payment gateway via an API. Upon initiating a payment transaction, the gateway push/forces a USSD dialog to open on the phone. My goal is to display feedback to the user when the <strong>Cancel</strong> or <strong>Send</strong> button is clicked. </p>
  
  <p>I'm looking for something like </p>
  
  <pre class="lang-java prettyprint-override"><code>List&lt;AccessibilityNodeInfo&gt; list = source.findAccessibilityNodeInfosByText("Send");
  
  for (AccessibilityNodeInfo node : list) {
      node.setOnClickListener(...);
  }
  </code></pre>