am ab087b9f: Fix NPE we\'re seeing in feedback (issue 11626428)

* commit 'ab087b9fbc56c78bf25a06068ff929f8a7ac7ae8':
  Fix NPE we're seeing in feedback (issue 11626428)
This commit is contained in:
Adam Cohen authored and Android Git Automerger committed 2013-11-14 11:59:31 -08:00
commit 7be5f565e9
1 file changed
+1 -1
@@ -327,7 +327,7 @@ public class DragController {
for (AppInfo info : appInfos) {
// Added null checks to prevent NPE we've seen in the wild
if (dragInfo != null &&
dragInfo.intent != null) {
dragInfo.intent != null && info != null) {
ComponentName cn = dragInfo.intent.getComponent();
boolean isSameComponent = cn.equals(info.componentName) ||
packageNames.contains(cn.getPackageName());