步骤一 :目录 frameworksI\baseI\packagesI\SystemUI\src\com\android\systemui\recents\views\TaskStackViewCallbacks.java
设置白名单状态标志
- public TaskStackView(Context context, TaskStack stack) {
- super(context);
- // Set the stack first
- setStack(stack);
- /*当删除的task在白名单中时 隐藏删除图标 wanchengguo 20180803 begin*/
- final Context mContext = context ;
- /*当删除的task在白名单中时 隐藏删除图标 wanchengguo 20180803 end*/
- mConfig = RecentsConfiguration.getInstance();
- mViewPool = new ViewPool<TaskView, Task>(context, this);
- mInflater = LayoutInflater.from(context);
- mLayoutA