commit | d4844c3e731b00547a31f23a00f8bd4a271e2b62 | [log] [tgz] |
---|---|---|
author | Adam Cohen <adamcohen@google.com> | Fri Feb 18 19:25:06 2011 -0800 |
committer | Adam Cohen <adamcohen@google.com> | Fri Feb 25 13:56:06 2011 -0800 |
tree | 6efae34aca62c6f2ab8ded7fe832fc765155231a | |
parent | e552b8b19ccdfd724c6b5c5f4f265de00bc1ffac [diff] [blame] |
Implementing resizable widgets in launcher Change-Id: I18598493dcf34fc6089fa330a4b66803f658b773
diff --git a/src/com/android/launcher2/LauncherAppWidgetHostView.java b/src/com/android/launcher2/LauncherAppWidgetHostView.java index 85a80f9..7c5de85 100644 --- a/src/com/android/launcher2/LauncherAppWidgetHostView.java +++ b/src/com/android/launcher2/LauncherAppWidgetHostView.java
@@ -72,7 +72,7 @@ // Otherwise continue letting touch events fall through to children return false; } - + class CheckForLongPress implements Runnable { private int mOriginalWindowAttachCount; @@ -122,4 +122,8 @@ } super.onVisibilityChanged(changedView, visibility); } + + public int getResizableMode() { + return getAppWidgetInfo().resizableMode; + } }