am 166e99ee: am d69e1138: Fix 4093841: Launcher crash after downloading app & hitting back

* commit '166e99ee68d59c689d473d736464d3a096185d77':
  Fix 4093841: Launcher crash after downloading app & hitting back
diff --git a/src/com/android/launcher2/BubbleTextView.java b/src/com/android/launcher2/BubbleTextView.java
index f18a241..1464854 100644
--- a/src/com/android/launcher2/BubbleTextView.java
+++ b/src/com/android/launcher2/BubbleTextView.java
@@ -264,8 +264,10 @@
 
     void setCellLayoutPressedOrFocusedIcon() {
         CellLayoutChildren parent = (CellLayoutChildren) getParent();
-        CellLayout cellLayout = (CellLayout) parent.getParent();
-        cellLayout.setPressedOrFocusedIcon((mPressedOrFocusedBackground != null) ? this : null);
+        if (parent != null) {
+            CellLayout layout = (CellLayout) parent.getParent();
+            layout.setPressedOrFocusedIcon((mPressedOrFocusedBackground != null) ? this : null);
+        }
     }
 
     Bitmap getPressedOrFocusedBackground() {