Skip to content
Snippets Groups Projects
Commit 0311dfa3 authored by Dhina17's avatar Dhina17 Committed by Dhina17
Browse files

fixup! Screenrecord: Add an option to record for longer

Change-Id: I6524818de3ff0a6e4a5e498a31a431d9b8dc50c8
parent 64bb8eb0
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ public class RecordingServiceTest extends SysuiTestCase {
@Test
public void testLogStartFullScreenRecording() {
Intent startIntent = RecordingService.getStartIntent(mContext, 0, 0, false, null, false,
false, false, false);
false, false, false, false);
mRecordingService.onStartCommand(startIntent, 0, 0);
verify(mUiEventLogger, times(1)).log(Events.ScreenRecordEvent.SCREEN_RECORD_START);
......@@ -149,7 +149,7 @@ public class RecordingServiceTest extends SysuiTestCase {
public void testLogStartPartialRecording() {
MediaProjectionCaptureTarget target = new MediaProjectionCaptureTarget(new Binder());
Intent startIntent = RecordingService.getStartIntent(mContext, 0, 0, false, target, false,
false, false, false);
false, false, false, false);
mRecordingService.onStartCommand(startIntent, 0, 0);
verify(mUiEventLogger, times(1)).log(Events.ScreenRecordEvent.SCREEN_RECORD_START);
......@@ -183,7 +183,7 @@ public class RecordingServiceTest extends SysuiTestCase {
doThrow(new RuntimeException("fail")).when(mScreenMediaRecorder).start();
Intent startIntent = RecordingService.getStartIntent(mContext, 0, 0, false, null, false,
false, false, false);
false, false, false, false);
mRecordingService.onStartCommand(startIntent, 0, 0);
assertUpdateState(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment