Android Is there an intention to broadcast the system when the application is killed to restore resources?

I am trying to write a BroadcastReceiver to receive notifications when Android OS kills an application in order to reclaim resources. I tried filtering on "android.intent.action.PACKAGE_RESTARTED", but I never get this broadcast, even when I force-close the application.

So, am I using the filter of the right actions? If not, which one? Or is it simply impossible?

Thank!

+3
source share
1 answer

Steve,

, , . , , " " , . , , .

FuzzicalLogic

0

Source: https://habr.com/ru/post/1760656/


All Articles