Fixing menu tests when context menu caption is the first line

The tests mistakenly took the caption (if on top) as the first context
menu item.

Change-Id: Ibd3264814f2c818742ab164503bf7136fedcde31
Tests: com.android.launcher3.ui.ShortcutsToHomeTest
2 files changed