OSDN Git Service

Fix random clicks in QS
authorJason Monk <jmonk@google.com>
Wed, 8 Mar 2017 14:39:21 +0000 (09:39 -0500)
committerJason Monk <jmonk@google.com>
Wed, 8 Mar 2017 14:41:17 +0000 (09:41 -0500)
commit1fdde2da76538d2fc90cd6ecb7bff237d52523ce
tree359965c5865e6b089fd8bcfa6d4403395b52ddb6
parent137b460e5fb2e4426504ad5315688f2fd71b7354
Fix random clicks in QS

The entire header was getting set as clickable because of old code
which would eat the clicks of the brightness slider (and other things)
when expanded.

Fixes: 35628944
Test: Trigger expandable update (like clear user_setup and set it)
      then click on brightness in QS

Change-Id: I2d23aabf6b8a5b05f3b2b93ee723ec145514ce5e
packages/SystemUI/src/com/android/systemui/qs/QSFragment.java
packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java