Files
packages_apps_Settings/src/com/android/settings
Fabian Leutenegger 82754f2212 Settings: Fix potential NPE in WifiTetherSecurityPreferenceController
* if updateDisplay() gets called but mShouldHidePreference was set to true during init in the constructor, [1] will cause an npe due to securityNames and securityValues being null
 * adding that check as well to updateDisplay() will prevent this from happening

[1]:
for (int i = 0; i < securityNames.length; i++) {
mSecurityMap.put(Integer.parseInt(securityValues[i]), securityNames[i]);
}

Change-Id: Ib9dec499b7aebcfa424f2dd9b310317d4fb0eaf0
2025-12-10 00:41:26 +09:00
..
2025-12-10 00:41:26 +09:00
2025-08-28 13:35:13 +03:00
2025-02-11 20:18:30 +08:00
2025-03-07 18:35:30 -08:00
2024-09-10 20:15:41 +00:00