코드는 postDelayed() 메소드로 했는데 다음과 같습니다.
public void mClick(View v) {
   v.postDelayed(new Runnable() {
       public void run() {
           //... Notification... 생략            
          mNotiManager.notify(NOTI_ID, notification);
       }
   }, delayTime);
}
폰의 화면이 켜져있는 상태일때는 정해진 시간 후에 Notification이 정상작동,
폰의 화면이 꺼진 상태일때는 정해진 시간이 지나도 Notification이 작동안되는데
무엇때문입니까?

 

profile

가끔은 뒤도 돌아보자... 이 만큼 왔구나...!