Fixing issues in Launcher

- Now ending choice mode if a selected application is removed
- Only updating apps in the customization drawer if the applications change
- Adding null check when determining scrolling in PagedView

Change-Id: I0b23d1383649626dc012bd70a5e8087885b77c17
This commit is contained in:
Winson Chung committed 2010-11-01 12:10:25 -07:00
1 parent 27ebab6ff9
commit 10fefb18c4
3 files changed
+29 -11

No files matched your search

+3 -1
View File
@@ -755,7 +755,9 @@ public abstract class PagedView extends ViewGroup {
// by a distant descendant, so use the mAllowLongPress flag to block
// everything
final View currentPage = getPageAt(mCurrentPage);
currentPage.cancelLongPress();
if (currentPage != null) {
currentPage.cancelLongPress();
}
}
}
}