OSDN Git Service

TabletStatusBar: Hide notifications during Setup Wizard
authorJohn Spurlock <jspurlock@google.com>
Sat, 23 Jun 2012 21:11:27 +0000 (17:11 -0400)
committerJohn Spurlock <jspurlock@google.com>
Mon, 25 Jun 2012 13:52:38 +0000 (09:52 -0400)
commit3623128d13839b48693245a64448fb2dabc1977f
treef9eab8cf78321e8db10428882e65b12241e89d16
parentdbbfa702a09f6d2d36dee1b552442d04a4673f89
TabletStatusBar: Hide notifications during Setup Wizard

Protect tablet users going through the initial setup wizard from trapping
themselves in Settings before the setup wizard is complete. A similar change
was already made for phones, so use the same logic.

Also hide quick-settings button (another way to get trapped in Settings) and
associated panel click handler.  Remove clear button since we're no longer
showing notification items.

Bug: 6704080
Change-Id: If7148cde9d18f493627f8367fd4b39d22e0d5ef1
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/tablet/NotificationPanel.java
packages/SystemUI/src/com/android/systemui/statusbar/tablet/NotificationPanelTitle.java
packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java