fixes 103234 to enable debugging Flutter apps on VR headset (#104135)
This commit is contained in:
parent
1e1f4bcfb5
commit
4c66e304d1
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user