갤럭시S에서 작업중입니다.

백그라운드로 서비스를 하나 돌려서

Notification 을 생성하는 코드를 작성하였는데

FLAG가 안 먹는 것 같습니다.


        Notification n = new Notification(R.drawable.connected_notify, msgstring, System.currentTimeMillis());

        n.flags = Notification.FLAG_AUTO_CANCEL;

        long[] vibr = new long[]{1000, 1000, 1000};
        n.vibrate = vibr;

        n.tickerText = msgstring;


위와 같은 코드인데요

Notification.FLAG_AUTO_CANCEL 를 했는데 알림 온것을 선택해도 사라지지 않습니다.

그리고 알림이 [진행 중] 영역에 있어서 [지우기] 버튼도 안나옵니다.

같은 소스를 Activity에서 실행하면 누르면 사라지고 잘되는데요

서비스는 뭔가 다른 점이 있는 건가요?