Android Studio – How to know os kill my foreground service android
I made a lock screen app. I want to restart my service when the OS kills the service in Xiaomi Redmi Note 10 Pro (MIUI 12). When the service is killed, onDestroy is not call. public class LockScreenService extends Service…