diff options
| author | 2017-06-20 16:19:46 +0100 | |
|---|---|---|
| committer | 2017-06-20 16:26:34 +0100 | |
| commit | b35b11f4cad12b7c746c9e006ff8d5e3d4f6a0f4 (patch) | |
| tree | 6d606396c8375d2a8cbf15c7d6221db9dc7c5e08 | |
| parent | e139434e3ab235fde6a5d17b9128e5665db32115 (diff) | |
Provide content description for WorkLockActivity.
This way the activity can be brought to foreground using TalkBack
in split-screen and free-form window mode.
Bug: 62814166
Test: Manually.
Change-Id: Idf3a0235fe7ec076b0f1d1f7b88e8b9e237e2d46
| -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); } |