Fix crash when launcher dies while configuring a widget / shortcut

issue 15014018

Change-Id: I083fa40fb2fd0eb217852e5d088fa5e18e5f5697
This commit is contained in:
Adam Cohen committed 2014-05-20 14:25:37 -07:00
1 parent 5eed5d8c7b
commit db364c3355
2 files changed
+99 -48

No files matched your search

+4
View File
@@ -1294,6 +1294,10 @@ public class Workspace extends SmoothPagedView
snapToPage(whichPage, duration);
}
public void snapToScreenId(long screenId) {
snapToScreenId(screenId, null);
}
protected void snapToScreenId(long screenId, Runnable r) {
snapToPage(getPageIndexForScreenId(screenId), r);
}