\frameworks\base\packages\SystemUI\src\com\android\systemui\recent\RecentsPanelView.java
public voiddeleteAllRecent(){
final ActivityManager am = (ActivityManager)
mContext.getSystemService(Context.ACTIVITY_SERVICE);
if (am != null) {
for(TaskDescription recent :mRecentTaskDescriptions){
am.removeTask(recent.persistentTaskId,ActivityManager.REMOVE_TASK_KILL_PROCESS);
}
}
if(mRecentTaskDescriptions!=null){
mRecentTaskDescriptions.clear();
if (mRecentTasksLoader.getLoadedTasks() !=null){
mRecentTasksLoader.getLoadedTasks().clear();
}
dismissAndGoBack();
}
}
public static void delAllRecentTask(Contextcontext){
Log.i("zhangliang=>1","delAllRecentTask");
final ActivityManager am =(ActivityManager)</