title: Android question: handler.postDelayed not working in Accessibility service
body: <p>Trying to use <code>handler.postDelayed</code> inside <code>onAccessibilityEvent</code>:</p>
  <pre><code>private final Handler handler = new Handler();
  
  @Override
  public void onAccessibilityEvent(AccessibilityEvent event) {
      switch (event.getEventType()) {
          case AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED:
              handler.postDelayed(new Runnable() {
                  @Override
                  public void run() {
                      Log.i(&quot;TAG&quot;, &quot;success&quot;);
                  }
              }, 1000);
              break;
      }
  
  }
  </code></pre>
  <p>The &quot;success&quot; log message never gets reached. What's the issue?</p>