For the broadcast receiver, there is an intentional action to detect whether the application has been deleted.
Intent action: android.intent.action.PACKAGE_REMOVED .
I would like to know if a similar broadcast action receiver exists to detect if the application was forcibly closed.
source share