auto import from //branches/cupcake_rel/...@138607

This commit is contained in:
The Android Open Source Project committed 2009-03-13 13:04:24 -07:00
1 parent 7376faefbb
commit ca9475f040
5 files changed
+111 -90

No files matched your search

+8
View File
@@ -1195,6 +1195,14 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag
public boolean allowLongPress() {
return mAllowLongPress;
}
/**
* Set true to allow long-press events to be triggered, usually checked by
* {@link Launcher} to accept or block dpad-initiated long-presses.
*/
public void setAllowLongPress(boolean allowLongPress) {
mAllowLongPress = allowLongPress;
}
void removeShortcutsForPackage(String packageName) {
final ArrayList<View> childrenToRemove = new ArrayList<View>();