OSDN Git Service

Make volume dialog only fade in/out in landscape
authorMike Digman <digman@google.com>
Tue, 27 Mar 2018 19:10:35 +0000 (12:10 -0700)
committerMike Digman <digman@google.com>
Tue, 27 Mar 2018 20:47:06 +0000 (20:47 +0000)
commit827824c081cd434e2eb3088c5b5068db72b45c24
tree004870172d0755073cd2dfafe13a2195d59a75f6
parent812e87ecba60a386f624b9dd68097d0ba9aac973
Make volume dialog only fade in/out in landscape

The sliding motion in landscape doesn't reinforce the
connection to the hardware keys. The motion also appears
clipped when the navbar background is transparent. Remove
the sliding motion when in landscape while leaving in fade.

Test: manual
Bug: 76438403
Change-Id: I6e49539080407d71ddfa44a9aba25cd7b4a6c0a2
packages/SystemUI/src/com/android/systemui/volume/VolumeDialogImpl.java