commit | a9fce8010def88c637c8de3a3b87a0f5e0c8fadb | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Wed Aug 09 16:51:16 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Wed Aug 09 16:51:16 2017 +0000 |
tree | fe4b09379835b098068bcdd4ccb6865e213b28ad | |
parent | 8466b0179ec03c4f59981fec7714e3eb64a71453 [diff] | |
parent | f79068637abadb12fe61b13bfb4b3951d2befaba [diff] |
Merge "LockIcon: update content description when config changes" into oc-dr1-dev am: f79068637a Change-Id: I81db081bbc793246ed0e6b7fa2551512c9758ff0
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java index cdba24c..6cfa838 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java
@@ -332,6 +332,7 @@ lp.width = getResources().getDimensionPixelSize(R.dimen.keyguard_affordance_width); lp.height = getResources().getDimensionPixelSize(R.dimen.keyguard_affordance_height); mLockIcon.setLayoutParams(lp); + mLockIcon.setContentDescription(getContext().getText(R.string.accessibility_unlock_button)); mLockIcon.update(true /* force */); lp = mLeftAffordanceView.getLayoutParams();