OSDN Git Service

Remove optimization to isInContentArea that wasn't working.
authorJoe Onorato <joeo@google.com>
Wed, 19 Jan 2011 02:00:30 +0000 (18:00 -0800)
committerJoe Onorato <joeo@google.com>
Wed, 19 Jan 2011 23:29:31 +0000 (15:29 -0800)
commit6223fba87efabfca2342fd75594e39d913023aa2
tree0753f8936a7bd812cd87dde8d41ba2872f0b9956
parentcb109a0eeaca12cdd954c567da4fc5f45a23213b
Remove optimization to isInContentArea that wasn't working.

This might fix the bug where tapping outside the notification panel doesn't close it.

I'm not 100% sure because I can't reproduce this on-demand, but I think it's possible for
onSizeChanged to race with the animations and we end up with a bad rectangle.  The time
I did see it happen was tapping above the title area right after canceling a notification,
so that could explain it I think.

Bug: 3339023
Change-Id: Ic3a7f4c059e7bf6f30b864a371a0912a6414edb7
packages/SystemUI/src/com/android/systemui/statusbar/tablet/NotificationPanel.java