mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Merge "Go back to previous state when hitting back from discovery bounce" into ub-launcher3-edmonton
This commit is contained in:
committed by
Android (Google) Code Review
commit
52cb0a73a4
@@ -123,9 +123,11 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
|
||||
|
||||
protected abstract boolean isOfType(@FloatingViewType int type);
|
||||
|
||||
public void onBackPressed() {
|
||||
/** @return Whether the back is consumed. If false, Launcher will handle the back as well. */
|
||||
public boolean onBackPressed() {
|
||||
logActionCommand(Action.Command.BACK);
|
||||
close(true);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user