Merge \\\"Settings: add logpersist kernel only selection\\\" am: 3c60540078 am: bd900c98ef

am: 364322a81d

Change-Id: I46f8b760043a4cafcb1798479f10a623776a0f7b
This commit is contained in:
Mark Salyzyn
2016-07-12 15:35:14 +00:00
committed by android-build-merger

View File

@@ -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")) {