안녕하세요 안드로이드 초보 개발자인데요
onTaskRemoved 라는 메서드 설명을 보니까
This is called if the service is currently running and the user has removed a task that comes from the service's application. If you have set ServiceInfo.FLAG_STOP_WITH_TASK
then you will not receive this callback; instead, the service will simply be stopped
ServiceInfo.FLAG_STOP_WITH_TASK 를 셋팅해야지만 서비스가 포함된 액티비티의 TASK가 전환 됐을 때 호출된다고 설명돼있는 것 같은데요..
ServiceInfo.FLAG_STOP_WITH_TASK 는 어디다가 셋팅해야하나요?
메니페스트인가.. 어디다가 어떻게 해야하는지 알려주시면 감사하겠습니다 ㅠ