OSDN Git Service

Adding a global accessibility action to open quick settings.
authorSvetoslav Ganov <svetoslavganov@google.com>
Tue, 25 Sep 2012 23:07:46 +0000 (16:07 -0700)
committerSvetoslav Ganov <svetoslavganov@google.com>
Tue, 25 Sep 2012 23:07:59 +0000 (16:07 -0700)
commite20a177d3f147f3011647c3bdab401f90b2c5d1d
tree9f06e8e43907e4ea01dc7456865ff39f871749b9
parent1ab8a08a9b85aa62045a6a78fd93859382c88b0f
Adding a global accessibility action to open quick settings.

1. Added APIs for opening the quick settings to the StatusBarManagerService
   and the local StatausBarManager. The new APIs are protected by the old
   EXPAND_STATUS_BAR permission.
   Renamed the expand* and collapse* non-public APIs that are expanding
   the notifications to expandNotifications* collapseNotifications* to
   better convey what they do given that this change adds
   expandQuickSettings* and collapseQuickSettings*.
   Added a global action to the accessibility layer to expand the quick
   settings which is calling into the new status bar manager APIs.

bug:7030487

Change-Id: Ic7b46e1a132f1c0d71355f18e7c5a9a2424171c3
18 files changed:
api/current.txt
core/java/android/accessibilityservice/AccessibilityService.java
core/java/android/app/StatusBarManager.java
core/java/com/android/internal/statusbar/IStatusBar.aidl
core/java/com/android/internal/statusbar/IStatusBarService.aidl
packages/SystemUI/src/com/android/systemui/SearchPanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java
packages/SystemUI/src/com/android/systemui/statusbar/tablet/NotificationPanel.java
packages/SystemUI/src/com/android/systemui/statusbar/tablet/SettingsView.java
packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
services/java/com/android/server/StatusBarManagerService.java
services/java/com/android/server/accessibility/AccessibilityManagerService.java
tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java