From 3e071f055e44866885d6b6dbb4720e70932b4105 Mon Sep 17 00:00:00 2001 From: yomna Date: Fri, 31 Jan 2025 01:11:52 +0000 Subject: [PATCH] Fix missing controller key and remove onCreatePreferences 1) A missing controller key for CellularSecurityEncryptionDividerController was causing the corresponding UI element's getAvailabilityStatus to not be called. 2) The inclusion of onCreatePreferences in CellularSecuritySettingsFragment was causing other UI element's controllers to not be called correctly. Bug: b/373942609 Test: atest CellularSecurityPreferenceControllerTest Test: atest CellularSecurityEncryptionDividerControllerTest Flag: EXEMPT bugfix Change-Id: Ic01a609311d7bd84ee835ffbede793fe2d7756ae --- res/xml/cellular_security.xml | 3 ++- .../telephony/CellularSecuritySettingsFragment.java | 7 ------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/res/xml/cellular_security.xml b/res/xml/cellular_security.xml index dde152db071..ba328804d97 100644 --- a/res/xml/cellular_security.xml +++ b/res/xml/cellular_security.xml @@ -20,7 +20,7 @@ android:title="@string/cellular_security_settings_title">