Unverified Commit 4c66e304 authored by Chris Sells's avatar Chris Sells Committed by GitHub

fixes 103234 to enable debugging Flutter apps on VR headset (#104135)

parent 1e1f4bcf
......@@ -625,7 +625,8 @@ class AndroidDevice extends Device {
final String? traceSkiaAllowlist = debuggingOptions.traceSkiaAllowlist;
final List<String> cmd = <String>[
'shell', 'am', 'start',
'-a', 'android.intent.action.RUN',
'-a', 'android.intent.action.MAIN',
'-c', 'android.intent.category.LAUNCHER',
'-f', '0x20000000', // FLAG_ACTIVITY_SINGLE_TOP
'--ez', 'enable-dart-profiling', 'true',
if (traceStartup)
......
......@@ -100,7 +100,9 @@ void main() {
'am',
'start',
'-a',
'android.intent.action.RUN',
'android.intent.action.MAIN',
'-c',
'android.intent.category.LAUNCHER',
'-f',
'0x20000000',
'--ez', 'enable-dart-profiling', 'true',
......@@ -226,7 +228,9 @@ void main() {
'am',
'start',
'-a',
'android.intent.action.RUN',
'android.intent.action.MAIN',
'-c',
'android.intent.category.LAUNCHER',
'-f',
'0x20000000',
// The DebuggingOptions arguments go here.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment