Merge "Home Controls: Add conditional copy for setting." into tm-dev am: 126e629c7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17476399 Change-Id: I07568b33ba507c78fe9ad3fe2f058687533893d8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -50,6 +50,9 @@ public class ControlsTrivialPrivacyPreferenceController extends TogglePreference
|
||||
|
||||
@Override
|
||||
public CharSequence getSummary() {
|
||||
if (getAvailabilityStatus() == DISABLED_DEPENDENT_SETTING) {
|
||||
return mContext.getText(R.string.lockscreen_trivial_disabled_controls_summary);
|
||||
}
|
||||
return mContext.getText(R.string.lockscreen_trivial_controls_summary);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user