Fix crash when launcher dies while configuring a widget / shortcut
issue 15014018 Change-Id: I083fa40fb2fd0eb217852e5d088fa5e18e5f5697
This commit is contained in:
1 parent
5eed5d8c7b
commit
db364c3355
2 files changed
+99
-48
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user