提交 cdb18a53 编写于 作者: C Chinmay Garde 提交者: GitHub

Convert the enable-dart-profiling to a shell argument in SkyActivity. (#3292)

上级 99b99129
......@@ -34,6 +34,9 @@ public class SkyActivity extends Activity {
if (intent.getBooleanExtra("start-paused", false)) {
args.add("--start-paused");
}
if (intent.getBooleanExtra("enable-dart-profiling", false)) {
args.add("--enable-dart-profiling");
}
if (!args.isEmpty()) {
String[] argsArray = new String[args.size()];
return args.toArray(argsArray);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册