OSDN Git Service
(root)
/
android-x86
/
packages-apps-Trebuchet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a935a
)
Fix new NPE relating to reorder hints
author
Adam Cohen
<adamcohen@google.com>
Wed, 11 Dec 2013 22:47:23 +0000
(14:47 -0800)
committer
Adam Cohen
<adamcohen@google.com>
Wed, 11 Dec 2013 22:47:47 +0000
(14:47 -0800)
Change-Id: I80ff327ee549caef5802eb7194d48b1e8424ce47
src/com/android/launcher3/CellLayout.java
patch
|
blob
|
history
diff --git
a/src/com/android/launcher3/CellLayout.java
b/src/com/android/launcher3/CellLayout.java
index
a05dd90
..
75f6a19
100644
(file)
--- a/
src/com/android/launcher3/CellLayout.java
+++ b/
src/com/android/launcher3/CellLayout.java
@@
-2632,9
+2632,9
@@
public class CellLayout extends ViewGroup {
}
if (mode == MODE_SHOW_REORDER_HINT) {
- beginOrAdjustReorderPreviewAnimations(finalSolution, dragView, 0,
- ReorderPreviewAnimation.MODE_HINT);
if (finalSolution != null) {
+ beginOrAdjustReorderPreviewAnimations(finalSolution, dragView, 0,
+ ReorderPreviewAnimation.MODE_HINT);
result[0] = finalSolution.dragViewX;
result[1] = finalSolution.dragViewY;
resultSpan[0] = finalSolution.dragViewSpanX;