Merge "LockIcon: update content description when config changes" into oc-dr1-dev

This commit is contained in:
TreeHugger Robot
2017-08-09 16:34:47 +00:00
committed by Android (Google) Code Review

View File

@@ -332,6 +332,7 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
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();