From d0930655e5670bb40ec70523c1c76ff86fab2538 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Tue, 24 Mar 2015 16:28:44 -0700 Subject: [PATCH] Ensure that we are not using the new View constructor. Change-Id: Iac2dba6d42cd60d6260aee9afc590564d25919a5 --- src/com/android/launcher3/AppsContainerView.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/com/android/launcher3/AppsContainerView.java b/src/com/android/launcher3/AppsContainerView.java index e7b6628cc4..06fe93c1fe 100644 --- a/src/com/android/launcher3/AppsContainerView.java +++ b/src/com/android/launcher3/AppsContainerView.java @@ -72,11 +72,7 @@ public class AppsContainerView extends FrameLayout implements DragSource, Insett } public AppsContainerView(Context context, AttributeSet attrs, int defStyleAttr) { - this(context, attrs, defStyleAttr, 0); - } - - public AppsContainerView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { - super(context, attrs, defStyleAttr, defStyleRes); + super(context, attrs, defStyleAttr); LauncherAppState app = LauncherAppState.getInstance(); DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); Resources res = context.getResources();