android: when running debug apk, disallow changing "enable_debug_logs"
follow-up 34b594ea40
This commit is contained in:
@@ -314,9 +314,8 @@ def configure_logging(config: 'SimpleConfig', *, log_to_file: Optional[bool] = N
|
||||
|
||||
verbosity = config.get('verbosity')
|
||||
verbosity_shortcuts = config.get('verbosity_shortcuts')
|
||||
if not verbosity:
|
||||
if config.get('gui_enable_debug_logs') or is_android_debug_apk():
|
||||
verbosity = '*'
|
||||
if not verbosity and config.get('gui_enable_debug_logs'):
|
||||
verbosity = '*'
|
||||
_configure_stderr_logging(verbosity=verbosity, verbosity_shortcuts=verbosity_shortcuts)
|
||||
|
||||
if log_to_file is None:
|
||||
|
||||
Reference in New Issue
Block a user