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 { ...@@ -625,7 +625,8 @@ class AndroidDevice extends Device {
final String? traceSkiaAllowlist = debuggingOptions.traceSkiaAllowlist; final String? traceSkiaAllowlist = debuggingOptions.traceSkiaAllowlist;
final List<String> cmd = <String>[ final List<String> cmd = <String>[
'shell', 'am', 'start', 'shell', 'am', 'start',
'-a', 'android.intent.action.RUN', '-a', 'android.intent.action.MAIN',
'-c', 'android.intent.category.LAUNCHER',
'-f', '0x20000000', // FLAG_ACTIVITY_SINGLE_TOP '-f', '0x20000000', // FLAG_ACTIVITY_SINGLE_TOP
'--ez', 'enable-dart-profiling', 'true', '--ez', 'enable-dart-profiling', 'true',
if (traceStartup) if (traceStartup)
......
...@@ -100,7 +100,9 @@ void main() { ...@@ -100,7 +100,9 @@ void main() {
'am', 'am',
'start', 'start',
'-a', '-a',
'android.intent.action.RUN', 'android.intent.action.MAIN',
'-c',
'android.intent.category.LAUNCHER',
'-f', '-f',
'0x20000000', '0x20000000',
'--ez', 'enable-dart-profiling', 'true', '--ez', 'enable-dart-profiling', 'true',
...@@ -226,7 +228,9 @@ void main() { ...@@ -226,7 +228,9 @@ void main() {
'am', 'am',
'start', 'start',
'-a', '-a',
'android.intent.action.RUN', 'android.intent.action.MAIN',
'-c',
'android.intent.category.LAUNCHER',
'-f', '-f',
'0x20000000', '0x20000000',
// The DebuggingOptions arguments go here. // 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