Merge "Fix security level display" into nyc-dev am: b42b9045e2
am: 2eef414b1d
* commit '2eef414b1d585e0473853a36d1766250f5cb2194':
Fix security level display
This commit is contained in:
@@ -104,7 +104,7 @@ public class DeviceInfoSettings extends SettingsPreferenceFragment implements In
|
||||
findPreference(KEY_FIRMWARE_VERSION).setEnabled(true);
|
||||
|
||||
final String patch = DeviceInfoUtils.getSecurityPatch();
|
||||
if (TextUtils.isEmpty(patch)) {
|
||||
if (!TextUtils.isEmpty(patch)) {
|
||||
setStringSummary(KEY_SECURITY_PATCH, patch);
|
||||
} else {
|
||||
getPreferenceScreen().removePreference(findPreference(KEY_SECURITY_PATCH));
|
||||
|
Reference in New Issue
Block a user