commit | 55b6550e37da5df2fda44fc712bc082731f2d8e7 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Thu May 26 12:03:43 2011 -0700 |
committer | Winson Chung <winsonc@google.com> | Thu May 26 15:03:07 2011 -0700 |
tree | 4003df523f68b268838759381258def2976a45fe | |
parent | ed4c1f1eaddd23ea3a19750533e84d7411334534 [diff] [blame] |
Changing long-press-on-workspace behaviour to show Applications & Widgets. - Disabling tap-on-widgets-to-add in favour of long press Change-Id: Ia82143b74216a968ab11890cba83a01c4ab72a06
diff --git a/src/com/android/launcher2/AppsCustomizeTabHost.java b/src/com/android/launcher2/AppsCustomizeTabHost.java index e2d21b6..cd8e7ef 100644 --- a/src/com/android/launcher2/AppsCustomizeTabHost.java +++ b/src/com/android/launcher2/AppsCustomizeTabHost.java
@@ -42,6 +42,13 @@ mLayoutInflater = LayoutInflater.from(context); } + void selectAppsTab() { + setCurrentTabByTag(APPS_TAB_TAG); + } + void selectWidgetsTab() { + setCurrentTabByTag(WIDGETS_TAB_TAG); + } + /** * Setup the tab host and create all necessary tabs. */