Fixing drag and drop issues with AppsCustomize pane.
- Fixing issue with no-more-space error not showing - Returning to first page of AllApps when leaving and coming back Change-Id: If3fb1ba1abae9d453bb71214e44170df91a52189
This commit is contained in:
1 parent
8ef4876800
commit
fc79c8067e
3 files changed
+50
-6
No files matched your search
@@ -95,6 +95,18 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
|
||||
return AppsCustomizePagedView.ContentType.Applications;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the tab tag for a given content type.
|
||||
*/
|
||||
public String getTabTagForContentType(AppsCustomizePagedView.ContentType type) {
|
||||
if (type == AppsCustomizePagedView.ContentType.Applications) {
|
||||
return APPS_TAB_TAG;
|
||||
} else if (type == AppsCustomizePagedView.ContentType.Widgets) {
|
||||
return WIDGETS_TAB_TAG;
|
||||
}
|
||||
return APPS_TAB_TAG;
|
||||
}
|
||||
|
||||
/**
|
||||
* Disable focus on anything under this view in the hierarchy if we are not visible.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user