diff options
author | Tony Wickham <twickham@google.com> | 2016-10-12 21:22:05 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-10-12 21:22:05 +0000 |
commit | cf6195268d3c1f190318b3220d321fb910349e51 (patch) | |
tree | 326eb9ceccc784ef6aafd49c78a7a02bc207519d /src/com/android/launcher3/CellLayout.java | |
parent | 3f8864069be20d14debacddee610062f3feae5a1 (diff) | |
parent | 2fd020860533e18c64a93d14d11cb2d34bc9cbaf (diff) | |
download | android_packages_apps_Trebuchet-cf6195268d3c1f190318b3220d321fb910349e51.tar.gz android_packages_apps_Trebuchet-cf6195268d3c1f190318b3220d321fb910349e51.tar.bz2 android_packages_apps_Trebuchet-cf6195268d3c1f190318b3220d321fb910349e51.zip |
Merge "Use Launcher.getLauncher(Context) instead of type-casting." into ub-launcher3-calgary-polish
Diffstat (limited to 'src/com/android/launcher3/CellLayout.java')
-rw-r--r-- | src/com/android/launcher3/CellLayout.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/CellLayout.java b/src/com/android/launcher3/CellLayout.java index 6714d9f17..57fd0e70a 100644 --- a/src/com/android/launcher3/CellLayout.java +++ b/src/com/android/launcher3/CellLayout.java @@ -196,7 +196,7 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler { // the user where a dragged item will land when dropped. setWillNotDraw(false); setClipToPadding(false); - mLauncher = (Launcher) context; + mLauncher = Launcher.getLauncher(context); DeviceProfile grid = mLauncher.getDeviceProfile(); |