summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2020-07-10 23:34:45 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-10 23:34:45 +0000
commit3a524f8d1a4fcd7164652bab45a4d1935a40253e (patch)
tree92407f72355ce68826833890a667abe7f12ff0cf /tests
parent771b4dd25daedb13c9de736a8bca18485fcb1ab6 (diff)
parent54039d06b6c995bc7b36bb3315e67a5018a7db4d (diff)
Fix EapFailureNotifier failing to resolve resource name dynamically am: 000ad45722 am: 54039d06b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/wifi/+/12112844 Change-Id: I0ca25d2bb623fb6d6aa6c0a3a3698b051d24264c
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/EapFailureNotifierTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/EapFailureNotifierTest.java b/tests/wifitests/src/com/android/server/wifi/EapFailureNotifierTest.java
index f2ec351ae..d2a3ac0dc 100644
--- a/tests/wifitests/src/com/android/server/wifi/EapFailureNotifierTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/EapFailureNotifierTest.java
@@ -89,7 +89,8 @@ public class EapFailureNotifierTest extends WifiBaseTest {
when(mResources.getString(eq(0), anyString())).thenReturn(null);
when(mResources.getString(eq(1), anyString())).thenReturn("Error Message");
when(mContext.createPackageContext(anyString(), eq(0))).thenReturn(mContext);
- when(mContext.getWifiOverlayApkPkgName()).thenReturn("test.com.android.wifi.resources");
+ when(mContext.getWifiOverlayApkPkgName()).thenReturn("test.com.oem.android.wifi.resources");
+ when(mContext.getWifiOverlayJavaPkgName()).thenReturn("test.com.android.wifi.resources");
mEapFailureNotifier =
new EapFailureNotifier(mContext, mFrameworkFacade, mWifiCarrierInfoManager);
}