title: Prevent ProgressDialog from being dismissed when I click the search button (Android)
body: <p>In a long-running operation, I'm showing a popup dialog (created from <code>ProgressDialog</code> to prevent other operations from happening).</p>
  
  <p>I have made it non-cancellable with <code>setCancelable(false)</code>, so I can't close it using the back button, but surprisingly, the Search hardware button dismisses the dialog!</p>
  
  <p>More exactly, the global search application is displayed, and when I come back to my app, the dialog has been dismissed. </p>
  
  <p>Any idea how to prevent the dialog from being dismissed?</p>