Fix security level display

b/26979319

Change-Id: I049a7f8f7c7917fdc2739234077247116dd8159d
This commit is contained in:
Tony Mantler
2016-02-08 14:02:05 -08:00
parent 0f6b093db7
commit 3cf07c849b

View File

@@ -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));