summaryrefslogtreecommitdiffstats
path: root/src/com/android/cellbroadcastreceiver/CellBroadcastAlertDialog.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/cellbroadcastreceiver/CellBroadcastAlertDialog.java')
-rw-r--r--src/com/android/cellbroadcastreceiver/CellBroadcastAlertDialog.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/cellbroadcastreceiver/CellBroadcastAlertDialog.java b/src/com/android/cellbroadcastreceiver/CellBroadcastAlertDialog.java
index f2509284..e4dc93b8 100644
--- a/src/com/android/cellbroadcastreceiver/CellBroadcastAlertDialog.java
+++ b/src/com/android/cellbroadcastreceiver/CellBroadcastAlertDialog.java
@@ -22,6 +22,7 @@ import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.telephony.CellBroadcastMessage;
+import android.util.Log;
/**
* Custom alert dialog with optional flashing warning icon.
@@ -29,6 +30,7 @@ import android.telephony.CellBroadcastMessage;
* Keyguard handling based on {@code AlarmAlert} class from DeskClock app.
*/
public class CellBroadcastAlertDialog extends CellBroadcastAlertFullScreen {
+ private static final String TAG = "CellBroadcastAlertDialog";
private BroadcastReceiver mScreenOffReceiver;
@@ -43,6 +45,7 @@ public class CellBroadcastAlertDialog extends CellBroadcastAlertFullScreen {
protected void onCreate(Bundle icicle) {
super.onCreate(icicle);
+ Log.d(TAG, "Alert Dialog Created");
// Listen for the screen turning off so that when the screen comes back
// on, the user does not need to unlock the phone to dismiss the alert.
if (CellBroadcastConfigService.isEmergencyAlertMessage(getLatestMessage())) {