forked from firka/flutter
Parse --verbose-logging flag from intent and pass to the engine as args. (flutter/engine#5447)
This commit is contained in:
@@ -327,6 +327,9 @@ public final class FlutterActivityDelegate
|
||||
if (intent.getBooleanExtra("trace-skia", false)) {
|
||||
args.add("--trace-skia");
|
||||
}
|
||||
if (intent.getBooleanExtra("verbose-logging", false)) {
|
||||
args.add("--verbose-logging");
|
||||
}
|
||||
if (!args.isEmpty()) {
|
||||
String[] argsArray = new String[args.size()];
|
||||
return args.toArray(argsArray);
|
||||
|
||||
Reference in New Issue
Block a user