Update task menu

- Remove widgets option
- Add Split screen
- Add Pin
- Tap as well as long press icon to show menu

Bug: 72320614
Bug: 70294936
Change-Id: I231160286426ac3d2a23524b2f4a0170f963190e
This commit is contained in:
Tony committed 2018-02-02 10:54:09 -06:00
1 parent fde5505d02
commit 9c70e7e220
8 files changed
+197 -38

No files matched your search

@@ -24,6 +24,7 @@ import android.os.UserHandle;
import com.android.launcher3.MainThreadExecutor;
import com.android.launcher3.R;
import com.android.systemui.shared.recents.ISystemUiProxy;
import com.android.systemui.shared.recents.model.RecentsTaskLoadPlan;
import com.android.systemui.shared.recents.model.RecentsTaskLoadPlan.PreloadOptions;
import com.android.systemui.shared.recents.model.RecentsTaskLoader;
@@ -66,6 +67,7 @@ public class RecentsModel extends TaskStackChangeListener {
private RecentsTaskLoadPlan mLastLoadPlan;
private int mLastLoadPlanId;
private int mTaskChangeId;
private ISystemUiProxy mSystemUiProxy;
private RecentsModel(Context context) {
mContext = context;
@@ -137,4 +139,12 @@ public class RecentsModel extends TaskStackChangeListener {
public RecentsTaskLoadPlan getLastLoadPlan() {
return mLastLoadPlan;
}
public void setSystemUiProxy(ISystemUiProxy systemUiProxy) {
mSystemUiProxy = systemUiProxy;
}
public ISystemUiProxy getSystemUiProxy() {
return mSystemUiProxy;
}
}