public class

EmergencyCallbackModeExitDialog

extends Activity
implements DialogInterface.OnDismissListener
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ com.android.phone.EmergencyCallbackModeExitDialog

Class Overview

Displays dialog that enables users to exit Emergency Callback Mode

Summary

Constants
int EXIT_ECM_BLOCK_OTHERS
int EXIT_ECM_DIALOG
int EXIT_ECM_IN_EMERGENCY_CALL_DIALOG
int EXIT_ECM_PROGRESS_DIALOG
String EXTRA_EXIT_ECM_RESULT Used to get the users choice from the return Intent's extra
[Expand]
Inherited Constants
From class android.app.Activity
From class android.content.Context
From interface android.content.ComponentCallbacks2
[Expand]
Inherited Fields
From class android.app.Activity
Public Constructors
EmergencyCallbackModeExitDialog()
Public Methods
void onCreate(Bundle savedInstanceState)
void onDestroy()
void onDismiss(DialogInterface dialog)
Closes activity when dialog is dismissed
Protected Methods
Dialog onCreateDialog(int id)
Creates dialog that enables users to exit Emergency Callback Mode
void onRestoreInstanceState(Bundle savedInstanceState)
void onSaveInstanceState(Bundle outState)
[Expand]
Inherited Methods
From class android.app.Activity
From class android.view.ContextThemeWrapper
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.content.DialogInterface.OnDismissListener
From interface android.view.KeyEvent.Callback
From interface android.view.LayoutInflater.Factory
From interface android.view.LayoutInflater.Factory2
From interface android.view.View.OnCreateContextMenuListener
From interface android.view.Window.Callback

Constants

public static final int EXIT_ECM_BLOCK_OTHERS

Constant Value: 1 (0x00000001)

public static final int EXIT_ECM_DIALOG

Constant Value: 2 (0x00000002)

public static final int EXIT_ECM_IN_EMERGENCY_CALL_DIALOG

Constant Value: 4 (0x00000004)

public static final int EXIT_ECM_PROGRESS_DIALOG

Constant Value: 3 (0x00000003)

public static final String EXTRA_EXIT_ECM_RESULT

Used to get the users choice from the return Intent's extra

Constant Value: "exit_ecm_result"

Public Constructors

public EmergencyCallbackModeExitDialog ()

Public Methods

public void onCreate (Bundle savedInstanceState)

public void onDestroy ()

public void onDismiss (DialogInterface dialog)

Closes activity when dialog is dismissed

Protected Methods

protected Dialog onCreateDialog (int id)

Creates dialog that enables users to exit Emergency Callback Mode

protected void onRestoreInstanceState (Bundle savedInstanceState)

protected void onSaveInstanceState (Bundle outState)