title: How to prompt permission dialog for notification listener
body: <p>Is there any way to automatically give permission of <code>notification</code> listener or to prompt permission dialog like this in > android M:</p>
  
  <p>Permission dialog:</p>
  
  <p><img src="https://i.stack.imgur.com/oqslw.jpg" alt="permission dialog"></p>
  
  <p>Currently i am using intent for allowing notification to app like:</p>
  
  <pre><code>   Intent intent = new Intent("android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS");
     startActivity(intent);
  </code></pre>