summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/ShortcutInfo.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-03-21 23:21:26 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-21 23:21:26 +0000
commitd23f37794f2a326623313d7df1e53d2863cd030b (patch)
treedda441b39a21b6d196c9ad364796efc6678de68e /src/com/android/launcher3/ShortcutInfo.java
parente28fb8354e1e69ffff5bf051f60797c15b0834e0 (diff)
parent77ff9a4343aa40f0d893a9b65ecfbe4bf89e65e7 (diff)
downloadandroid_packages_apps_Trebuchet-d23f37794f2a326623313d7df1e53d2863cd030b.tar.gz
android_packages_apps_Trebuchet-d23f37794f2a326623313d7df1e53d2863cd030b.tar.bz2
android_packages_apps_Trebuchet-d23f37794f2a326623313d7df1e53d2863cd030b.zip
Merge "Removing the profile extra from intent and using the profile id from the profile column" into ub-launcher3-dorval
am: 77ff9a4343 Change-Id: Ib0cd8cb8f963b78a9cd53ed896aeb6e4f6163683
Diffstat (limited to 'src/com/android/launcher3/ShortcutInfo.java')
-rw-r--r--src/com/android/launcher3/ShortcutInfo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/ShortcutInfo.java b/src/com/android/launcher3/ShortcutInfo.java
index f0bb1c0c1..6f0417c08 100644
--- a/src/com/android/launcher3/ShortcutInfo.java
+++ b/src/com/android/launcher3/ShortcutInfo.java
@@ -199,7 +199,7 @@ public class ShortcutInfo extends ItemInfoWithIcon {
public void updateFromDeepShortcutInfo(ShortcutInfoCompat shortcutInfo, Context context) {
// {@link ShortcutInfoCompat#getActivity} can change during an update. Recreate the intent
- intent = shortcutInfo.makeIntent(context);
+ intent = shortcutInfo.makeIntent();
title = shortcutInfo.getShortLabel();
CharSequence label = shortcutInfo.getLongLabel();