summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/CellLayout.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-04-22 11:29:51 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-04-24 10:47:56 -0700
commit1a70cef9884270f2f0a760f079a10fdfb1544c98 (patch)
tree1bd7b7fbacc5ed576c70ed4e62e379fca296b522 /src/com/android/launcher3/CellLayout.java
parentad4ba81384a08ec3ac6149b3a8c73e23d122026f (diff)
downloadandroid_packages_apps_Trebuchet-1a70cef9884270f2f0a760f079a10fdfb1544c98.tar.gz
android_packages_apps_Trebuchet-1a70cef9884270f2f0a760f079a10fdfb1544c98.tar.bz2
android_packages_apps_Trebuchet-1a70cef9884270f2f0a760f079a10fdfb1544c98.zip
Accessibility fixes
> Enabling top bar buttons in accessibility drag-drop > Unifying logic to show delete/uninstall/app-info targets > Announcing cell loction as 1-index instead of 0-index Change-Id: Ibc7801f77e938b2646f0655462cbe9b7f781818b
Diffstat (limited to 'src/com/android/launcher3/CellLayout.java')
-rw-r--r--src/com/android/launcher3/CellLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/CellLayout.java b/src/com/android/launcher3/CellLayout.java
index f4afb954d..f08f25fb2 100644
--- a/src/com/android/launcher3/CellLayout.java
+++ b/src/com/android/launcher3/CellLayout.java
@@ -557,7 +557,7 @@ public class CellLayout extends ViewGroup {
Resources res = getContext().getResources();
View child = getChildAt(x, y);
if (child == null || child == dragInfo.item) {
- return res.getString(R.string.move_to_empty_cell, x, y);
+ return res.getString(R.string.move_to_empty_cell, x + 1, y + 1);
} else {
ItemInfo info = (ItemInfo) child.getTag();
if (info instanceof AppInfo || info instanceof ShortcutInfo) {