OSDN Git Service

Fixes no vibration on old nav bar
authorMatthew Ng <ngmatthew@google.com>
Tue, 17 Apr 2018 23:48:21 +0000 (16:48 -0700)
committerMatthew Ng <ngmatthew@google.com>
Tue, 17 Apr 2018 23:48:21 +0000 (16:48 -0700)
commit84db16105edcf0c91cc770e7abbff806e0665e37
tree492d7a6bd1481b839eb708f501394c6d838ed13a
parentd688e7b15dd3ee56da34b146ba5ee0271a2cb6cb
Fixes no vibration on old nav bar

Since systemui and launcher are always connected, the old condition for
disabling vibration when systemui and launcher are connected does not
work anymore and instead if the interface changes back to the old nav
bar then enable vibrations.

Change-Id: Ia19c040c65d6fe1d0f05af0ee6cdd11ca3b46bdf
Fixes: 78138490
Test: disable swipe up in settings and press home/back button
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarFragment.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java