title: onAccessibilityEvent not called on android pie
body: <p><code>onAccessibilityEvent</code> never calls on Android Pie.
  First, this is my code  </p>
  
  <pre><code>public class MyAccessibilityService extends AccessibilityService  {
  
      @Override
      public void onInterrupt() {
      }
  
      @Override
      public void onAccessibilityEvent(AccessibilityEvent event) {
          final int eventType = event.getEventType();
          switch(eventType) {
              case AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED:
                  Log.e("called called ","nnnnnnnnnnnnnnn TYPE_VIEW_TEXT_CHANGED "+visibility);
                  show();
                  break;
              case AccessibilityEvent.TYPE_VIEW_FOCUSED:
                  break;
          }
      }
  
      @Override
      protected void onServiceConnected() {
          super.onServiceConnected();
      }
  
      @Override
      public void onDestroy() {
          super.onDestroy();
      }
  }
  </code></pre>
  
  <p>and this is my manifest service </p>
  
  <pre><code>&lt;service
      android:name=".service.MyAccessibilityService"
      class=".MyAccessibilityService"
      android:enabled="true"
      android:exported="false"
      android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.accessibilityservice.AccessibilityService" /&gt;
      &lt;/intent-filter&gt;
  
      &lt;meta-data
          android:name="android.accessibilityservice"
          android:resource="@xml/serviceconfig" /&gt;
  &lt;/service&gt;
  </code></pre>
  
  <p>and serviceConfig xml </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;accessibility-service xmlns:android="http://schemas.android.com/apk/res/android"
      android:description="@string/app_name"
      android:accessibilityEventTypes="typeViewTextChanged|typeViewFocused"
      android:accessibilityFeedbackType="feedbackAllMask"
      android:notificationTimeout="20"
      android:canRetrieveWindowContent="true"
  /&gt;
  </code></pre>
  
  <p><code>onServiceConnected</code>is getting called without a problem and <code>onDestroy</code> is never getting called, hence, my service is never getting killed. <code>onAccessibilityEvent</code> is not being called, but when I test it on older version like <code>4.4.4</code>
  and <code>7.0</code> it works. However, on Pie <code>onAccessibilityEvent</code> never gets called</p>