如何杀死android中的com.android.phone进程?
问题描述:
有没有办法杀死android中的com.android.phone进程?我尝试过这种方法:
Is there a way to kill com.android.phone process in android? i have tried this method:
Method forceStopPackage = mActivityManager.getClass().getDeclaredMethod("forceStopPackage", String.class);
forceStopPackage.setAccessible(true);
forceStopPackage.invoke(mActivityManager, pkgName);
它除了com.android.phone之外还能很好用,有人可以帮帮我。
谢谢!
it works great except com.android.phone,could anyone please help me.
Thank you!
答