Add first RTL support to Launcher
See bug #8064062 Launcher needs to be RTL aware
Change-Id: I24b1f1977fb65246afd2005440567b5850939621
diff --git a/src/com/android/launcher2/InfoDropTarget.java b/src/com/android/launcher2/InfoDropTarget.java
index d6bf5f2..850cc1f 100644
--- a/src/com/android/launcher2/InfoDropTarget.java
+++ b/src/com/android/launcher2/InfoDropTarget.java
@@ -51,7 +51,9 @@
Resources r = getResources();
mHoverColor = r.getColor(R.color.info_target_hover_tint);
mDrawable = (TransitionDrawable) getCurrentDrawable();
- mDrawable.setCrossFadeEnabled(true);
+ if (null != mDrawable) {
+ mDrawable.setCrossFadeEnabled(true);
+ }
// Remove the text in the Phone UI in landscape
int orientation = getResources().getConfiguration().orientation;