diff options
author | Roshan Pius <rpius@google.com> | 2019-11-14 13:43:24 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-11-14 13:43:24 +0000 |
commit | 76012840c6b576a75a42e26ffc15716e66bbfd0c (patch) | |
tree | 5fefa83bd08b3e908b932fd0ddd19b3d43f91dad /tests | |
parent | ca689352d5ad9845c12b0efbdf43d04e1803cd9f (diff) | |
parent | 1691b1fa094be104dca0adc32a5deb9236eef57b (diff) |
Merge "WifiStackService: Use local constants for notification channels"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WrongPasswordNotifierTest.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WrongPasswordNotifierTest.java b/tests/wifitests/src/com/android/server/wifi/WrongPasswordNotifierTest.java index 28fbc9371..ae184bec7 100644 --- a/tests/wifitests/src/com/android/server/wifi/WrongPasswordNotifierTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WrongPasswordNotifierTest.java @@ -28,8 +28,6 @@ import android.provider.Settings; import androidx.test.filters.SmallTest; -import com.android.internal.notification.SystemNotificationChannels; - import org.junit.Before; import org.junit.Test; import org.mockito.Answers; @@ -73,7 +71,7 @@ public class WrongPasswordNotifierTest extends WifiBaseTest { @Test public void onWrongPasswordError() throws Exception { when(mFrameworkFacade.makeNotificationBuilder(any(), - eq(SystemNotificationChannels.NETWORK_ALERTS))).thenReturn(mNotificationBuilder); + eq(WifiStackService.NOTIFICATION_NETWORK_ALERTS))).thenReturn(mNotificationBuilder); mWrongPassNotifier.onWrongPasswordError(TEST_SSID); verify(mNotificationManager).notify(eq(WrongPasswordNotifier.NOTIFICATION_ID), any()); ArgumentCaptor<Intent> intent = ArgumentCaptor.forClass(Intent.class); |