开发者

Process management: To be killed or Not to be killed

开发者 https://www.devze.com 2023-01-14 23:14 出处:网络
An observation: While I was developing my app on android, I noticed following two lines in LogCat. These occurred because of too much memory requirements of my own app. I have read that Android can de

An observation: While I was developing my app on android, I noticed following two lines in LogCat. These occurred because of too much memory requirements of my own app. I have read that Android can decide when to get rid of a process that are not needed or because of memory requirements.

Does it mean the alarm will not trigger at all (when some other app has made it to kill)? The alarm is a critical service and should not be killed.

09-07 16:18:32.936开发者_JAVA技巧: INFO/ActivityManager(63): Process com.android.alarmclock (pid 164) has died.
09-07 16:19:01.655: INFO/ActivityManager(63): Process com.android.mms (pid 204) has died.

(Please correct me if my understanding is wrong.)


com.android.alarmclock is not AlarmManager. It is the Alarm Clock application.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号