Resetting AllApps to first page when turning screen off/hitting home.

Change-Id: If988bbcf48c54aad3603425bb290fde011e9bd75
This commit is contained in:
Winson Chung committed 2011-03-30 14:41:54 -07:00
1 parent f27b5e7540
commit 337cd9d3f6
6 files changed
+30

No files matched your search

@@ -248,6 +248,10 @@ public class AllAppsTabbed extends TabHost implements AllAppsView, LauncherTrans
mAllApps.surrender();
}
public void reset() {
mAllApps.reset();
}
@Override
public boolean onTouchEvent(MotionEvent ev) {
if (ev.getY() > mAllApps.getBottom()) {