fbshipit-source-id: 2cd940396d650342920b28835f6e672febe6b55c

This commit is contained in:
Daniel Buchele
2018-06-12 03:39:09 -07:00
parent 1cc2d46be9
commit f7d487dd76
42 changed files with 1100 additions and 1080 deletions

View File

@@ -202,9 +202,11 @@ export default class ScreenPlugin extends SonarDevicePlugin<State> {
pullingData: true,
});
})
.then((): Promise<string> => {
return self.pullFromDevice(`/sdcard/${VIDEO_FILE_NAME}`, VIDEO_PATH);
})
.then(
(): Promise<string> => {
return self.pullFromDevice(`/sdcard/${VIDEO_FILE_NAME}`, VIDEO_PATH);
},
)
.then(openFile)
.then(() => {
self.executeShell(`rm /sdcard/${VIDEO_FILE_NAME}`);