Merge "Fix security level display" into nyc-dev am: b42b9045e2

am: 2eef414b1d

* commit '2eef414b1d585e0473853a36d1766250f5cb2194':
  Fix security level display
This commit is contained in:
Tony Mantler
2016-02-08 22:43:26 +00:00
committed by android-build-merger

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