diff options
author | Phil Weaver <pweaver@google.com> | 2018-02-13 16:02:35 -0800 |
---|---|---|
committer | Phil Weaver <pweaver@google.com> | 2018-02-22 09:44:54 -0800 |
commit | 7d847b037525075cdff92d5e52665d9a9761a8e9 (patch) | |
tree | e8b8effa8a20e146db56835782f056b3994d87d1 /packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java | |
parent | 92ab9f1c6bd7daf2b7dd3a923b5b3ca919bbb4b5 (diff) |
Use accessibility pane API in keyguard
Using the new accessibility pane title API
to identify the pattern, pin, and password unlock
screens.
Bug: 73131182
Test: Verified that accessibility events are properly
sent when unlocking the phone with each of the lock
methods.
Change-Id: I32594f4736b503e7f9e3be96e9f77a84ffcadc54
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java index cb066a10a9c9..651831eea517 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java @@ -491,4 +491,10 @@ public class KeyguardPatternView extends LinearLayout implements KeyguardSecurit public boolean hasOverlappingRendering() { return false; } + + @Override + public CharSequence getTitle() { + return getContext().getString( + com.android.internal.R.string.keyguard_accessibility_pattern_unlock); + } } |