Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
4c66e304
Unverified
Commit
4c66e304
authored
May 21, 2022
by
Chris Sells
Committed by
GitHub
May 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes 103234 to enable debugging Flutter apps on VR headset (#104135)
parent
1e1f4bcf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
android_device.dart
packages/flutter_tools/lib/src/android/android_device.dart
+2
-1
android_device_start_test.dart
...test/general.shard/android/android_device_start_test.dart
+6
-2
No files found.
packages/flutter_tools/lib/src/android/android_device.dart
View file @
4c66e304
...
...
@@ -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
)
...
...
packages/flutter_tools/test/general.shard/android/android_device_start_test.dart
View file @
4c66e304
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment