commit | 859f2c84af4f20ac6083de30353b3ace41af87b0 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Wed Apr 17 18:30:00 2019 -0700 |
committer | Lucas Dupin <dupin@google.com> | Wed Apr 17 18:30:00 2019 -0700 |
tree | ad3e6a37eb75d36cf902e4fc8244ca45ea3befa7 | |
parent | 10ae84a9c1a2b245dfd4280159cf9b0689c6a3ca [diff] [blame] |
Indicate that a TrustAgent kept the phone unlocked Fixes: 130326679 Test: manual with SmartLock Change-Id: Ic5bb8608313498f2608890eac5c226db06c20ac7
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java b/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java index 3441591..25436a9 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java
@@ -236,8 +236,8 @@ * * @return {@code null} or an empty string if a trust indication text should not be shown. */ - protected String getTrustGrantedIndication() { - return null; + private String getTrustGrantedIndication() { + return mContext.getString(R.string.keyguard_indication_trust_unlocked); } /** @@ -245,7 +245,7 @@ * * @return {@code null} or an empty string if a trust managed text should not be shown. */ - protected String getTrustManagedIndication() { + private String getTrustManagedIndication() { return null; }