diff --git a/src/com/android/settings/DevelopmentSettings.java b/src/com/android/settings/DevelopmentSettings.java index 656c19f650c..73392a62def 100644 --- a/src/com/android/settings/DevelopmentSettings.java +++ b/src/com/android/settings/DevelopmentSettings.java @@ -1578,7 +1578,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")) {