[automerger] Add logging for selected text and split screen Bug: 79787082 am: de184a243d
Change-Id: Ib2a36c2690d138e0b387a9954dfe87af942e8c5c
This commit is contained in:
@@ -110,6 +110,8 @@ enum ControlType {
|
|||||||
QUICK_SCRUB_BUTTON = 12;
|
QUICK_SCRUB_BUTTON = 12;
|
||||||
CLEAR_ALL_BUTTON = 13;
|
CLEAR_ALL_BUTTON = 13;
|
||||||
CANCEL_TARGET = 14;
|
CANCEL_TARGET = 14;
|
||||||
|
TASK_PREVIEW = 15;
|
||||||
|
SPLIT_SCREEN_TARGET = 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum TipType {
|
enum TipType {
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
package com.android.quickstep;
|
package com.android.quickstep;
|
||||||
|
|
||||||
|
import static com.android.launcher3.userevent.nano.LauncherLogProto.Action.Touch.TAP;
|
||||||
|
|
||||||
import android.content.ComponentName;
|
import android.content.ComponentName;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
@@ -35,6 +37,7 @@ import com.android.launcher3.ItemInfo;
|
|||||||
import com.android.launcher3.R;
|
import com.android.launcher3.R;
|
||||||
import com.android.launcher3.ShortcutInfo;
|
import com.android.launcher3.ShortcutInfo;
|
||||||
import com.android.launcher3.popup.SystemShortcut;
|
import com.android.launcher3.popup.SystemShortcut;
|
||||||
|
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
||||||
import com.android.launcher3.util.InstantAppResolver;
|
import com.android.launcher3.util.InstantAppResolver;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
import com.android.quickstep.views.TaskThumbnailView;
|
import com.android.quickstep.views.TaskThumbnailView;
|
||||||
@@ -166,7 +169,8 @@ public class TaskSystemShortcut<T extends SystemShortcut> extends SystemShortcut
|
|||||||
Log.w(TAG, "Failed to notify SysUI of split screen: ", e);
|
Log.w(TAG, "Failed to notify SysUI of split screen: ", e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
activity.getUserEventDispatcher().logActionOnControl(TAP,
|
||||||
|
LauncherLogProto.ControlType.SPLIT_SCREEN_TARGET);
|
||||||
// Add a device profile change listener to kick off animating the side tasks
|
// Add a device profile change listener to kick off animating the side tasks
|
||||||
// once we enter multiwindow mode and relayout
|
// once we enter multiwindow mode and relayout
|
||||||
activity.addOnDeviceProfileChangeListener(onDeviceProfileChangeListener);
|
activity.addOnDeviceProfileChangeListener(onDeviceProfileChangeListener);
|
||||||
|
|||||||
Reference in New Issue
Block a user