Loading src/com/android/launcher3/popup/PopupContainerWithArrow.java +8 −8 Original line number Original line Diff line number Diff line Loading @@ -70,6 +70,8 @@ import com.android.launcher3.shortcuts.DeepShortcutView; import com.android.launcher3.shortcuts.ShortcutsItemView; import com.android.launcher3.shortcuts.ShortcutsItemView; import com.android.launcher3.util.PackageUserKey; import com.android.launcher3.util.PackageUserKey; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.List; import java.util.Map; import java.util.Map; Loading Loading @@ -182,14 +184,12 @@ public class PopupContainerWithArrow extends AbstractFloatingView implements Dra orientAboutIcon(originalIcon, arrowHeight + arrowVerticalOffset); orientAboutIcon(originalIcon, arrowHeight + arrowVerticalOffset); } } List<DeepShortcutView> shortcutViews = mShortcutsItemView.getDeepShortcutViews(reverseOrder); List<DeepShortcutView> shortcutViews = mShortcutsItemView == null for (int i = 0; i < itemsToPopulate.length; i++) { ? Collections.EMPTY_LIST switch (itemsToPopulate[i]) { : mShortcutsItemView.getDeepShortcutViews(reverseOrder); case NOTIFICATION: if (mNotificationItemView != null) { IconPalette iconPalette = originalIcon.getIconPalette(); IconPalette iconPalette = originalIcon.getIconPalette(); mNotificationItemView.applyColors(iconPalette); mNotificationItemView.applyColors(iconPalette); break; } } } // Add the arrow. // Add the arrow. Loading Loading
src/com/android/launcher3/popup/PopupContainerWithArrow.java +8 −8 Original line number Original line Diff line number Diff line Loading @@ -70,6 +70,8 @@ import com.android.launcher3.shortcuts.DeepShortcutView; import com.android.launcher3.shortcuts.ShortcutsItemView; import com.android.launcher3.shortcuts.ShortcutsItemView; import com.android.launcher3.util.PackageUserKey; import com.android.launcher3.util.PackageUserKey; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.List; import java.util.Map; import java.util.Map; Loading Loading @@ -182,14 +184,12 @@ public class PopupContainerWithArrow extends AbstractFloatingView implements Dra orientAboutIcon(originalIcon, arrowHeight + arrowVerticalOffset); orientAboutIcon(originalIcon, arrowHeight + arrowVerticalOffset); } } List<DeepShortcutView> shortcutViews = mShortcutsItemView.getDeepShortcutViews(reverseOrder); List<DeepShortcutView> shortcutViews = mShortcutsItemView == null for (int i = 0; i < itemsToPopulate.length; i++) { ? Collections.EMPTY_LIST switch (itemsToPopulate[i]) { : mShortcutsItemView.getDeepShortcutViews(reverseOrder); case NOTIFICATION: if (mNotificationItemView != null) { IconPalette iconPalette = originalIcon.getIconPalette(); IconPalette iconPalette = originalIcon.getIconPalette(); mNotificationItemView.applyColors(iconPalette); mNotificationItemView.applyColors(iconPalette); break; } } } // Add the arrow. // Add the arrow. Loading