mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Parse --verbose-logging flag from intent and pass to the engine as args. (flutter/engine#5447)
This commit is contained in:
parent
b3c936ed84
commit
23fd79d790
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user