Skip to content

Instantly share code, notes, and snippets.

@CedricGatay
Created July 14, 2010 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CedricGatay/475232 to your computer and use it in GitHub Desktop.
Save CedricGatay/475232 to your computer and use it in GitHub Desktop.
private static final String ACTION_CLOSE_SYSTEM_DIALOGS = "android.intent.action.CLOSE_SYSTEM_DIALOGS";
private void registerForBroadcasts() {
IntentFilter intentFilter = new IntentFilter();
intentFilter.addAction(ACTION_CLOSE_SYSTEM_DIALOGS);
registerReceiver(mReceiver, intentFilter);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment