diff options
| author | 2017-06-21 21:24:47 +0000 | |
|---|---|---|
| committer | 2017-06-21 21:24:47 +0000 | |
| commit | f9a63d0457f290f25536976507c2130ab8b27438 (patch) | |
| tree | 276197f7b2e824c5467294a7dbe90bc9bd9663db | |
| parent | 604c29006bb13944ee3ba3b64e5ed149608a4d9a (diff) | |
| parent | f044e0b87f1407847c48eb2092a0dfaf5f527320 (diff) | |
Merge "Provide content description for WorkLockActivity." into oc-dev
am: f044e0b87f
Change-Id: Ib3df83d82eb2646a0f657606e05225250b5db2e5
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyguard/WorkLockActivity.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/WorkLockActivity.java b/packages/SystemUI/src/com/android/systemui/keyguard/WorkLockActivity.java index 32b5862e2b6b..af2b7677dcad 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/WorkLockActivity.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/WorkLockActivity.java @@ -38,6 +38,7 @@ import android.util.Log; import android.view.View; import com.android.internal.annotations.VisibleForTesting; +import com.android.systemui.R; /** * Bouncer between work activities and the activity used to confirm credentials before unlocking @@ -83,6 +84,7 @@ public class WorkLockActivity extends Activity { // Blank out the activity. When it is on-screen it will look like a Recents thumbnail with // redaction switched on. final View blankView = new View(this); + blankView.setContentDescription(getString(R.string.accessibility_desc_work_lock)); blankView.setBackgroundColor(getPrimaryColor()); setContentView(blankView); } |