Repository navigation
Commit 3a1c469
authored
[flutter_tools] Do not always wait for the full timeout when running Spotlight to locate Android Studio on macOS (flutter#189952)
flutter#189461 introduced a script in
the flutter_tools AndroidStudio class that wraps the Spotlight mdfind
command with a timeout.
This script had been waiting for the full 3 second timeout even if the
mdfind process exited before then. The extra wait showed up in
performance benchmarks of tasks that invoke AndroidStudio such as app
compilation.
See flutter#1891771 parent efe7ac6 commit 3a1c469
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
| |||
0 commit comments