commit | d09161ced6e640d2ab6122892c61adf9ad5480b7 | [log] [tgz] |
---|---|---|
author | Pranav Vashi <neobuddy89@gmail.com> | Sat Oct 14 22:55:04 2023 +0530 |
committer | SamarV-121 <samar@samarv121.dev> | Mon Apr 08 18:37:03 2024 +0530 |
tree | a75c3119dc3322a72005160ae49fbe5277b1a015 | |
parent | 5970129b46adef835fe88a5efef6817b727b1b65 [diff] |
Settings: Add app lock summary for 0 protected apps Change-Id: I8a600d30a49b99260073ccc6f7fc211e15c92fc8 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
diff --git a/src/com/android/settings/security/applock/AppLockSettingsPreferenceController.kt b/src/com/android/settings/security/applock/AppLockSettingsPreferenceController.kt index 5339ea3..42b7517 100644 --- a/src/com/android/settings/security/applock/AppLockSettingsPreferenceController.kt +++ b/src/com/android/settings/security/applock/AppLockSettingsPreferenceController.kt
@@ -108,7 +108,7 @@ private fun getSummaryForListSize(size: Int): CharSequence? = if (size == 0) { - null + mContext.getString(R.string.app_lock_packages_summary) } else { mContext.resources.getQuantityString(R.plurals.app_lock_summary, size, size) }