OSDN Git Service

Fix NPE in when dropping from all apps (issue 12917451)
authorAdam Cohen <adamcohen@google.com>
Sat, 8 Feb 2014 00:34:51 +0000 (16:34 -0800)
committerAdam Cohen <adamcohen@google.com>
Sat, 8 Feb 2014 00:34:51 +0000 (16:34 -0800)
commitec0d61d79ef50010660b426b259a8ccb14656b31
tree9e784a431ff9a49409dca9a333c46ebe82f63cc0
parentb6d4c2827a1514432b5eda46ff7d484d6cf244ac
Fix NPE in when dropping from all apps (issue 12917451)

When dropping from all apps, accept drop was returning true if the item
was above a folder, however, when it came time to complete the drop,
the folder wouldn't accept the item. This can be prevented by increasing
the criteria in acceptDrop.

Change-Id: Ib644ec45984e8366c33bb674f3d3a76e22ed5160
src/com/android/launcher3/Workspace.java