Merge "Go back to previous state when hitting back from discovery bounce" into ub-launcher3-edmonton

This commit is contained in:
TreeHugger Robot authored and Android (Google) Code Review committed 2018-05-21 23:11:56 +00:00
commit 52cb0a73a4
4 files changed
+15 -4

No files matched your search

@@ -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