commit | ff3fa34a7ab5feb0bbe11893022a832be73536d5 | [log] [tgz] |
---|---|---|
author | Vadim Tryshev <vadimt@google.com> | Wed Jul 25 16:29:06 2018 -0700 |
committer | Vadim Tryshev <vadimt@google.com> | Thu Aug 02 14:15:05 2018 -0700 |
tree | 4ef7e91e914194cf9e1a19dc27b945c871473a28 | |
parent | 899c08aee8dba224ac12b5dce27ec1635f4ad07e [diff] [blame] |
Fixing scrolling up in App Apps. Done by scrolling only when scroll position is not zero. This way, the scroll gesture can't close All Apps. Bug: 110103162 Test: TaplTests suite Change-Id: Icfe47d2bcc0210ae221df169d6c35cd1be10ff86
diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java index 7c5bb1a..a851318 100644 --- a/src/com/android/launcher3/Utilities.java +++ b/src/com/android/launcher3/Utilities.java
@@ -602,4 +602,8 @@ msg.setAsynchronous(true); handler.sendMessage(msg); } + + public interface Consumer<T> { + void accept(T var1); + } }