android kill other app programmatically by package

Solutions on MaxInterview for android kill other app programmatically by package by the best coders in the world

showing results for - "android kill other app programmatically by package"
Sofia
04 Jul 2020
1ActivityManager am = (ActivityManager) getSystemService(Activity.ACTIVITY_SERVICE);
2am.killBackgroundProcesses(packageName);
3	
4Permission:
5
6<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />