android - Disable adb force-stop in the app -


i trying disable force stop of android app writing. "force stop" disabled in settings. expecting see same behavior using adb, can kill app if send force-stop command using adb.

is there way can disabled in app? essentially, behavior should same in both cases.

thanks.

your app cannot control that. app process killed os, cannot prevent this.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -