diff options
author | Winson Chung <winsonc@google.com> | 2020-07-16 19:08:35 +0000 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2020-07-17 20:42:04 +0000 |
commit | cda60ac3f9e95f7ba7afa8d2721d0428065b212c (patch) | |
tree | eae61c1990554a536223f760629781e354c468d7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f277044b7031bc8f0dbfa414f9eb9fab541967a8 (diff) |
Removing unnecessary code
- The code was existing before we added onRecentsAnimationStateChanged
earlier. But none of the other callers call this method with
barWindow=NAV_BAR so this code was previously not even getting hit.
In particular, touchAutoDim is already triggered in the nav bar layout
touch handling, and the volume panel already listens for touch outside
so all this does is trigger unnecessary animations (volume
tries to animate even when not showing, and we don't dim the gesture
bar since we have the sampling).
Change-Id: I0bb309e1ddb593d01ce8f5fcc9622753324cdd09
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions