diff --git a/src/com/android/settings/DevelopmentSettings.java b/src/com/android/settings/DevelopmentSettings.java index 4335817ce10..6d07e4168cc 100644 --- a/src/com/android/settings/DevelopmentSettings.java +++ b/src/com/android/settings/DevelopmentSettings.java @@ -1574,7 +1574,9 @@ public class DevelopmentSettings extends RestrictedSettingsFragment int index = 0; if (currentValue.equals(SELECT_LOGPERSIST_PROPERTY_SERVICE)) { index = 1; - if (!currentBuffers.equals("all") && + if (currentBuffers.equals("kernel")) { + index = 3; + } else if (!currentBuffers.equals("all") && !currentBuffers.contains("radio") && currentBuffers.contains("security") && currentBuffers.contains("kernel")) {