Android关闭开机弹出SIM卡变动提示对话框

\frameworks\base\packages\Keyguard\src\com\mediatek\keyguard\Telephony\KeyguardDialogManager.java

mSimCardChangedDialog =dialogBuilder.create();

       mSimCardChangedDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);

       mSimCardChangedDialog.setOnDismissListener(newDialogInterface.OnDismissListener() {

 @Override

           public void onDismiss(DialogInterface di) {

                // report close

                reportDialogClose();

           }

       });

       //close simcarddialog lhw start

      //mSimCardChangedDialog.show();

你可能感兴趣的:(Android,MTK开发笔记集)