Merge "Update footer text whenever the ScreenPinningSettings is shown" into main

This commit is contained in:
Chun-Ku Lin
2024-04-18 17:25:17 +00:00
committed by Android (Google) Code Review
2 changed files with 109 additions and 2 deletions

View File

@@ -240,9 +240,9 @@ public class ScreenPinningSettings extends SettingsPreferenceFragment
mUseScreenLock.setChecked(isScreenLockUsed());
mUseScreenLock.setTitle(getCurrentSecurityTitle(mLockPatternUtils));
} else {
mFooterPreference.setSummary(getAppPinningContent());
mUseScreenLock.setEnabled(false);
}
mFooterPreference.setSummary(getAppPinningContent());
}
private boolean isGuestModeSupported() {