mPhone = phone;
if (Build.IS_DEBUGGABLE) {
IntentFilter filter = new IntentFilter();
filter.addAction(mActionFailBringUp);
log("register for intent action=" + mActionFailBringUp);
filter.addAction(mPhone.getActionDetached());
log("register for intent action=" + mPhone.getActionDetached());
filter.addAction(mPhone.getActionAttached());
log("register for intent action=" + mPhone.getActionAttached());
phone.getContext().registerReceiver(mIntentReceiver, filter, null, handler);
}