fix buildozer android logcat using filters

This commit is contained in:
Mathieu Virbel 2016-11-16 01:53:37 +01:00
parent 68a6c8e04c
commit e9419c0df0

View file

@ -917,8 +917,9 @@ class TargetAndroid(Target):
serial = self.serials[0:]
if not serial:
return
filters = self.buildozer.config.getdefault(
"app", "android.logcat_filters", "")
filters = self.buildozer.config.getrawdefault(
"app", "android.logcat_filters", "", section_sep=":", split_char=" ")
filters = " ".join(filters)
self.buildozer.environ['ANDROID_SERIAL'] = serial[0]
self.buildozer.cmd('{adb} logcat {filters}'.format(adb=self.adb_cmd,
filters=filters),