Merge "Fix gender issue on subtext of screen pinning" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-04-12 09:48:40 +00:00
committed by Android (Google) Code Review
2 changed files with 7 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ public class ScreenPinningPreferenceController extends BasePreferenceController
public CharSequence getSummary() {
return Settings.System.getInt(mContext.getContentResolver(),
Settings.System.LOCK_TO_APP_ENABLED, 0) != 0
? mContext.getText(R.string.switch_on_text)
: mContext.getText(R.string.switch_off_text);
? mContext.getText(R.string.screen_pinning_switch_on_text)
: mContext.getText(R.string.screen_pinning_switch_off_text);
}
}