Fix starting screen captures
Summary: Starting a screencapture longer than 30 seconds would timeout as the start command waits for the process to finish. Removed that wait is it is the stop command that should only wait for the finish. (n.b. please ship after accepting, as I'm on PTO) Reviewed By: LukeDefeo Differential Revision: D38918570 fbshipit-source-id: fd93e1239985c81a2143ceb79312518e7ebb27f5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
947d00c6c3
commit
dab510c546
@@ -250,8 +250,7 @@ export default class AndroidDevice extends ServerDevice {
|
|||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
.then((_) => destination);
|
.then((_) => destination);
|
||||||
|
// Intentionally not return a promise, this just kicks off the recording!
|
||||||
return this.recordingProcess.then((_) => {});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async stopScreenCapture(): Promise<string> {
|
async stopScreenCapture(): Promise<string> {
|
||||||
|
|||||||
Reference in New Issue
Block a user