Commit b42b9045 authored by Tony Mantler's avatar Tony Mantler Committed by Android (Google) Code Review

Merge "Fix security level display" into nyc-dev

parents 0239f955 3cf07c84
......@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment