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

Change-Id: If988bbcf48c54aad3603425bb290fde011e9bd75
This commit is contained in:
Winson Chung
2011-03-30 10:39:30 -07:00
parent f27b5e7540
commit 337cd9d3f6
6 changed files with 30 additions and 0 deletions
@@ -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()) {