summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/dragndrop/PinShortcutRequestActivityInfo.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-03-21 11:59:04 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-03-22 16:47:21 -0700
commit778634c81870ae2013907950a98bb7793802e6c7 (patch)
tree541bc8177418b23c59753bf095dd67d001bcaba5 /src/com/android/launcher3/dragndrop/PinShortcutRequestActivityInfo.java
parentaeb60bffc9a5a9a45bac59b189f9d448b1c63320 (diff)
downloadandroid_packages_apps_Trebuchet-778634c81870ae2013907950a98bb7793802e6c7.tar.gz
android_packages_apps_Trebuchet-778634c81870ae2013907950a98bb7793802e6c7.tar.bz2
android_packages_apps_Trebuchet-778634c81870ae2013907950a98bb7793802e6c7.zip
Adding logging for various interaction in PinItemRequest UI
Bug: 34766840 Change-Id: Ib29d7d4b53ab99cdf3ff253976ef55345729487b
Diffstat (limited to 'src/com/android/launcher3/dragndrop/PinShortcutRequestActivityInfo.java')
-rw-r--r--src/com/android/launcher3/dragndrop/PinShortcutRequestActivityInfo.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/launcher3/dragndrop/PinShortcutRequestActivityInfo.java b/src/com/android/launcher3/dragndrop/PinShortcutRequestActivityInfo.java
index 6a8c19f4b..26460d776 100644
--- a/src/com/android/launcher3/dragndrop/PinShortcutRequestActivityInfo.java
+++ b/src/com/android/launcher3/dragndrop/PinShortcutRequestActivityInfo.java
@@ -27,6 +27,7 @@ import android.os.Build;
import com.android.launcher3.IconCache;
import com.android.launcher3.LauncherAppState;
+import com.android.launcher3.LauncherSettings;
import com.android.launcher3.compat.LauncherAppsCompat;
import com.android.launcher3.compat.PinItemRequestCompat;
import com.android.launcher3.compat.ShortcutConfigActivityInfo;
@@ -55,6 +56,11 @@ class PinShortcutRequestActivityInfo extends ShortcutConfigActivityInfo {
}
@Override
+ public int getItemType() {
+ return LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT;
+ }
+
+ @Override
public CharSequence getLabel() {
return mInfo.getShortLabel();
}