summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorTaran Singh <tarandeep@google.com>2020-04-27 17:08:05 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-04-27 17:08:05 +0000
commit88191952ece34be76fdcf1255e70c5b88a6b8098 (patch)
tree365b074068eab626d016e5fe79c9bd035510b8d6 /core/java/android
parent2133dc6e7361289f355fae60c403d4f3f49a53d9 (diff)
parent8321a2a48dd63124dd1e418c9d730ef9bab0d62a (diff)
Merge "Add test for ImeInsetsSourceConsumer" into rvc-dev
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/InsetsController.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/view/InsetsController.java b/core/java/android/view/InsetsController.java
index 43c7bede38c2..f135328c44fe 100644
--- a/core/java/android/view/InsetsController.java
+++ b/core/java/android/view/InsetsController.java
@@ -1002,7 +1002,8 @@ public class InsetsController implements WindowInsetsController, InsetsAnimation
}
}
- private void applyAnimation(@InsetsType final int types, boolean show, boolean fromIme) {
+ @VisibleForTesting
+ public void applyAnimation(@InsetsType final int types, boolean show, boolean fromIme) {
if (types == 0) {
// nothing to animate.
return;