Loading tests/functional/com/android/documentsui/FileCopyUiTest.java +6 −6 Original line number Original line Diff line number Diff line Loading @@ -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"; Loading @@ -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 Loading Loading
tests/functional/com/android/documentsui/FileCopyUiTest.java +6 −6 Original line number Original line Diff line number Diff line Loading @@ -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"; Loading @@ -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 Loading