Open GoogleCodeExporter opened 9 years ago
The method restartPackage in class ActivityManager uses the permission
android.permission.RESTART_PACKAGES to stop all activities, receivers, and
services.
But since android 2.2, it is deprecated and replaced by the method
killBackgroundProcesse. This method can not stop the activities, just restart
the services.
Original comment by marshima...@gmail.com
on 20 Oct 2011 at 4:26
Original issue reported on code.google.com by
marshima...@gmail.com
on 20 Oct 2011 at 4:23