title: Is it possible to avoid heads-up notification of incoming calls?
body: <p>This is a very short question:</p>
  
  <p>Suppose I have an immersive-screen Activity in the app, and I wish to give the users a choice of seeing heads-up notifications of incoming calls, because such a thing could cause accidental touches on the notifications (causing accidental replying or rejecting of calls), or because it's just annoying.</p>
  
  <p>Is such a thing possible?</p>
  
  <p>Even as a user, I've noticed that it's possible only if I enable do-not-disturb mode, and even then, I need to customize it so that it will be applied to such notifications.</p>
  
  <p>Maybe there is a way to temporary enable do-not-disturb (as shown <a href="https://stackoverflow.com/q/31862753/878126"><strong>here</strong></a>), within the app? Or is there a better, alternative way ?</p>