diff options
author | Abhisek Devkota <ciwrl@cyanogenmod.com> | 2014-06-23 21:23:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2014-06-23 21:23:40 +0000 |
commit | 2f8b1730e98969459458baa32b5d50c67b2dc4bb (patch) | |
tree | ac7631dcab888b26796a6703cdcccb0d962fdf19 /src/com/android/launcher3/CellLayout.java | |
parent | 07856ffe95a4332534adf7bc7cf06f512816b9f8 (diff) | |
parent | a5ee6730d45a4c5f6ccbce4d6332881f5f15d9b6 (diff) | |
download | android_packages_apps_Trebuchet-2f8b1730e98969459458baa32b5d50c67b2dc4bb.tar.gz android_packages_apps_Trebuchet-2f8b1730e98969459458baa32b5d50c67b2dc4bb.tar.bz2 android_packages_apps_Trebuchet-2f8b1730e98969459458baa32b5d50c67b2dc4bb.zip |
Merge "Customizeable Dynamic Grid:" into cm-11.0
Diffstat (limited to 'src/com/android/launcher3/CellLayout.java')
-rw-r--r-- | src/com/android/launcher3/CellLayout.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/CellLayout.java b/src/com/android/launcher3/CellLayout.java index da38a03e3..373617145 100644 --- a/src/com/android/launcher3/CellLayout.java +++ b/src/com/android/launcher3/CellLayout.java @@ -3162,7 +3162,8 @@ out: for (int i = x; i < x + spanX - 1 && x < xCount; i++) { if (x < mCountX && y < mCountY) { return mOccupied[x][y]; } else { - throw new RuntimeException("Position exceeds the bound of this CellLayout"); + Log.w(TAG, "Position exceeds the bound of this CellLayout"); + return false; } } |