summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/AllAppsRecyclerViewContainerView.java
diff options
context:
space:
mode:
authorTony Wickham <twickham@google.com>2016-10-12 21:22:05 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-10-12 21:22:05 +0000
commitcf6195268d3c1f190318b3220d321fb910349e51 (patch)
tree326eb9ceccc784ef6aafd49c78a7a02bc207519d /src/com/android/launcher3/allapps/AllAppsRecyclerViewContainerView.java
parent3f8864069be20d14debacddee610062f3feae5a1 (diff)
parent2fd020860533e18c64a93d14d11cb2d34bc9cbaf (diff)
downloadandroid_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/allapps/AllAppsRecyclerViewContainerView.java')
-rw-r--r--src/com/android/launcher3/allapps/AllAppsRecyclerViewContainerView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsRecyclerViewContainerView.java b/src/com/android/launcher3/allapps/AllAppsRecyclerViewContainerView.java
index 1d5b209c2..b5afb2bd8 100644
--- a/src/com/android/launcher3/allapps/AllAppsRecyclerViewContainerView.java
+++ b/src/com/android/launcher3/allapps/AllAppsRecyclerViewContainerView.java
@@ -49,7 +49,7 @@ public class AllAppsRecyclerViewContainerView extends FrameLayout
public AllAppsRecyclerViewContainerView(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
- Launcher launcher = (Launcher) context;
+ Launcher launcher = Launcher.getLauncher(context);
DeviceProfile grid = launcher.getDeviceProfile();
mTouchFeedbackView = new ClickShadowView(context);