List of usage examples for android.app ActivityManager.RunningTaskInfo getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:com.allmycode.flags.MyActivity.java
void logSystemInfo() { List<ActivityManager.RunningAppProcessInfo> procInfoList = actManager.getRunningAppProcesses(); Log.i(CLASSNAME, "********"); for (ActivityManager.RunningAppProcessInfo procInfo : procInfoList) { Log.i(CLASSNAME, "Running app: " + procInfo.getClass().getName()); }//from w w w .j a v a2 s . com List<ActivityManager.RunningTaskInfo> taskInfoList = actManager.getRunningTasks(30); for (ActivityManager.RunningTaskInfo taskInfo : taskInfoList) { Log.i(CLASSNAME, "Running task: " + taskInfo.getClass().getName()); } Log.i(CLASSNAME, "********"); }