Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0d4a190 authored by Ivan Chiang's avatar Ivan Chiang Committed by android-build-merger
Browse files

Fix flaky test with enabling virtual sd card fail am: 6926437d

am: c05c867d

Change-Id: Ie976f7fa086758603211c4ca3c6c446bcea747f9
parents 820e2d14 c05c867d
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -137,12 +137,6 @@ public class FileCopyUiTest extends ActivityTest<FilesActivity> {
            Log.d(TAG, "Cannot set notification access. ", e);
            Log.d(TAG, "Cannot set notification access. ", e);
        }
        }


        IntentFilter filter = new IntentFilter();
        filter.addAction(TestNotificationService.ACTION_OPERATION_RESULT);
        context.registerReceiver(mReceiver, filter);
        context.sendBroadcast(new Intent(
                TestNotificationService.ACTION_CHANGE_EXECUTION_MODE));

        mOperationExecuted = false;
        mOperationExecuted = false;
        mErrorReason = "No response from Notification";
        mErrorReason = "No response from Notification";


@@ -156,6 +150,12 @@ public class FileCopyUiTest extends ActivityTest<FilesActivity> {
            // Call initStorageRootInfo() again for setting SD Card root
            // Call initStorageRootInfo() again for setting SD Card root
            initStorageRootInfo();
            initStorageRootInfo();
        }
        }

        IntentFilter filter = new IntentFilter();
        filter.addAction(TestNotificationService.ACTION_OPERATION_RESULT);
        context.registerReceiver(mReceiver, filter);
        context.sendBroadcast(new Intent(
                TestNotificationService.ACTION_CHANGE_EXECUTION_MODE));
    }
    }


    @Override
    @Override