OSDN Git Service

Brightness mirror - fix multi-touch issue
authordooyoung.hwang <dooyoung.hwang@lge.com>
Tue, 15 Nov 2016 23:59:23 +0000 (08:59 +0900)
committerdooyoung.hwang <dooyoung.hwang@lge.com>
Tue, 15 Nov 2016 23:59:23 +0000 (08:59 +0900)
commite4b841e7576b36a5e5568a17f235b1c14f0a85e3
treed0c5f031d96ad18fcdbd7a2a3d8388a3d6327ad5
parent41fd0f1faf68acff5928d133aabb55bfb019a873
Brightness mirror - fix multi-touch issue

The issue is that QSPanel get touch event while brightness mirros
is showing after density changes. This is because StatusBarWindowView
keeps the reference of detached brightness mirror view. We can refresh
it at onViewAdded function.

Test: manual(change device density > Check if can click QuickSettings
while dragging brightness slider.)

Change-Id: I646092abbc23b24bb91fc5c8525b12a143364b84
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java