mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Launcher state management cleanup
> Removing Widgets and related states > Fixing different durations being used when opening/closing all-apps > Removing some unnecessary object allocations when changing state without animation > Differentiating widget bootm sheel and full sheet in logs Bug: 67678570 Change-Id: Ic169528736d04ee0b38564b4f96595ba066eabda
This commit is contained in:
@@ -177,13 +177,11 @@ public class UserEventDispatcher {
|
||||
}
|
||||
|
||||
public void logActionCommand(int command, int containerType) {
|
||||
logActionCommand(command, containerType, 0);
|
||||
logActionCommand(command, newContainerTarget(containerType));
|
||||
}
|
||||
|
||||
public void logActionCommand(int command, int containerType, int pageIndex) {
|
||||
LauncherEvent event = newLauncherEvent(
|
||||
newCommandAction(command), newContainerTarget(containerType));
|
||||
event.srcTarget[0].pageIndex = pageIndex;
|
||||
public void logActionCommand(int command, Target target) {
|
||||
LauncherEvent event = newLauncherEvent(newCommandAction(command), target);
|
||||
dispatchUserEvent(event, null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user