Merge "Avoid duplicate text on keyguard indication" into rvc-dev am: 7a6ee94dfc am: 979fb7ea81 am: b494793420
Change-Id: I0a712bbbda3f3574eda2052371065b16b5a76f2d
This commit is contained in:
@@ -340,7 +340,7 @@ public class KeyguardIndicationController implements StateListener,
|
|||||||
mTextView.switchIndication(com.android.internal.R.string.lockscreen_storage_locked);
|
mTextView.switchIndication(com.android.internal.R.string.lockscreen_storage_locked);
|
||||||
mTextView.setTextColor(mInitialTextColorState);
|
mTextView.setTextColor(mInitialTextColorState);
|
||||||
} else if (!TextUtils.isEmpty(mTransientIndication)) {
|
} else if (!TextUtils.isEmpty(mTransientIndication)) {
|
||||||
if (powerIndication != null) {
|
if (powerIndication != null && !mTransientIndication.equals(powerIndication)) {
|
||||||
String indication = mContext.getResources().getString(
|
String indication = mContext.getResources().getString(
|
||||||
R.string.keyguard_indication_trust_unlocked_plugged_in,
|
R.string.keyguard_indication_trust_unlocked_plugged_in,
|
||||||
mTransientIndication, powerIndication);
|
mTransientIndication, powerIndication);
|
||||||
|
|||||||
Reference in New Issue
Block a user