commit | 08187a4b2669b79c88586392d7c99665e6dbd00b | [log] [tgz] |
---|---|---|
author | Jason Monk <jmonk@google.com> | Tue Jun 09 14:33:51 2015 -0400 |
committer | Jason Monk <jmonk@google.com> | Tue Jun 09 15:59:25 2015 -0400 |
tree | 39115b346fc8b9485dbb8d1c5236a65d40abda5f | |
parent | f17138f068af9f89d760b4c0f33c0a32a267d849 [diff] |
Add hotspot accessibility description Bug: 20811452 Change-Id: I8de71b1734d37f6154bc59e59ce17adc0cd6f5f3
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java index 0872e06..6a6266e 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java
@@ -162,7 +162,8 @@ mCast.addCallback(mCastCallback); // hotspot - mService.setIcon(SLOT_HOTSPOT, R.drawable.stat_sys_hotspot, 0, null); + mService.setIcon(SLOT_HOTSPOT, R.drawable.stat_sys_hotspot, 0, + mContext.getString(R.string.accessibility_status_bar_hotspot)); mService.setIconVisibility(SLOT_HOTSPOT, mHotspot.isHotspotEnabled()); mHotspot.addCallback(mHotspotCallback);