Merge "Remove accidental debugger wait." into oc-dev

This commit is contained in:
Bryce Lee
2017-04-05 21:55:12 +00:00
committed by Android (Google) Code Review

View File

@@ -18,7 +18,6 @@ package com.android.server.am;
import static org.junit.Assert.assertNull;
import android.os.Debug;
import android.platform.test.annotations.Presubmit;
import android.support.test.filters.MediumTest;
import android.support.test.runner.AndroidJUnit4;
@@ -45,7 +44,6 @@ public class ActivityStackSupervisorTests extends ActivityTestsBase {
*/
@Test
public void testRestoringInvalidTask() throws Exception {
Debug.waitForDebugger();
final ActivityManagerService service = createActivityManagerService();
TaskRecord task = service.mStackSupervisor.anyTaskForIdLocked(0 /*taskId*/,
MATCH_TASK_IN_STACKS_OR_RECENT_TASKS_AND_RESTORE, 0 /*stackId*/);