Merge "Merge "Avoid duplicate text on keyguard indication" into rvc-dev am: 7a6ee94dfc am: be9bf94858 am: 3914d60616" into rvc-qpr-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
96792ed34a
@@ -340,7 +340,7 @@ public class KeyguardIndicationController implements StateListener,
|
||||
mTextView.switchIndication(com.android.internal.R.string.lockscreen_storage_locked);
|
||||
mTextView.setTextColor(mInitialTextColorState);
|
||||
} else if (!TextUtils.isEmpty(mTransientIndication)) {
|
||||
if (powerIndication != null) {
|
||||
if (powerIndication != null && !mTransientIndication.equals(powerIndication)) {
|
||||
String indication = mContext.getResources().getString(
|
||||
R.string.keyguard_indication_trust_unlocked_plugged_in,
|
||||
mTransientIndication, powerIndication);
|
||||
|
||||
Reference in New Issue
Block a user