Changing the widget loading strategy
Widget is loaded only when the user enters the overview mode and we keep the list updated as long as the user is in the overview mode. Once the user leaves the overview mode, we stop responding to widget updates Bug: 26077457 Change-Id: I9e4904b8f1300bfe0d77e2bc5f59aa6963fad8d1
This commit is contained in:
1 parent
58b53b5dff
commit
1024a80f2c
12 files changed
+262
-255
No files matched your search
@@ -702,7 +702,7 @@ public class LauncherStateTransitionAnimation {
|
||||
private void startWorkspaceSearchBarAnimation(
|
||||
final Workspace.State toWorkspaceState, int duration, AnimatorSet animation) {
|
||||
final SearchDropTargetBar.State toSearchBarState =
|
||||
toWorkspaceState.getSearchDropTargetBarState();
|
||||
toWorkspaceState.searchDropTargetBarState;
|
||||
mLauncher.getSearchDropTargetBar().animateToState(toSearchBarState, duration, animation);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user