안녕하세요


activitygroup을 써서 어플을 개발중인데요


getParent()를 써서 했습니다.


다른 다이얼로그는 뜨는데


비행기모드, 3G모드 껏을 때 뜨는 다이얼로그가 안떠요



비행기 모드시 어플을 실행하면 다이얼로그가 뜨고 확인 누르면 finish()해주는건데


실행하면 화면이 어두워지고화면이 눌러지지 않아요


대신 back키를 누르면 다시 활성화되요..


아마 다이얼로그가 가려지고 화면이 어두워지는거 같은데


이 이유가 도대체 무엇인지 모르겠습니다 ㅠㅠ 


new AlertDialog.Builder(getParent())
                            .setTitle("알림")
                            .setMessage(
                                    "비행기 모드로 폰이 설정되어 있습니다. 설정 해제후 실행 해주십시요.")
                            .setPositiveButton("예",
                                    new DialogInterface.OnClickListener() {
                                        public void onClick(
                                                DialogInterface dialog,
                                                int which) {
                                            clearApplicationCache(null); // 캐쉬삭제
                                            System.exit(0);
                                        }
                                    }).setNegativeButton("아니요", null).show();