diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-10-25 01:35:09 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-10-25 01:35:09 +0000 |
commit | a51c352a81b792d4e9861a152ee1cae9af7c8695 (patch) | |
tree | 1bae5e355339625c942d77cecabd769f59f65868 | |
parent | 5ea85b07c6263f84126c38263d4e2ec6a93eb772 (diff) | |
parent | f0d4a190587c30cf19b1708f6c5ea0874fbf9002 (diff) | |
download | DocumentsUI-a51c352a81b792d4e9861a152ee1cae9af7c8695.tar.gz |
Snap for 5964166 from f0d4a190587c30cf19b1708f6c5ea0874fbf9002 to qt-qpr1-aml-releaseandroid-mainline-10.0.0_r4android10-qpr1-mainline-release
Change-Id: Id07cf841e592645b13ea296767f66dc0096608ba
-rw-r--r-- | tests/functional/com/android/documentsui/FileCopyUiTest.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/functional/com/android/documentsui/FileCopyUiTest.java b/tests/functional/com/android/documentsui/FileCopyUiTest.java index 666441a4f..3d18b8fd3 100644 --- a/tests/functional/com/android/documentsui/FileCopyUiTest.java +++ b/tests/functional/com/android/documentsui/FileCopyUiTest.java @@ -137,12 +137,6 @@ public class FileCopyUiTest extends ActivityTest<FilesActivity> { 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; mErrorReason = "No response from Notification"; @@ -156,6 +150,12 @@ public class FileCopyUiTest extends ActivityTest<FilesActivity> { // Call initStorageRootInfo() again for setting SD Card root 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 |