I have a WakefulBroadcastReceiver
with IntentService
, every half hour alarm called and doing some stuff.
I have already handle doze mode with setExactAndAllowWhileIdle()
method.
Some new smart phones with customized os recently launched in market they have their own customized os based on android os. Like oppo with color os, vivo with funtouch os, xiomi with MIUI os. In the OSs there is a feature to clear memory. They have one touch clear memory option. for example if user clear recent app list or remove app from recent app list app's all background service along with all alarms will be killed.
How to work with these new OS?