summaryrefslogtreecommitdiffstats
path: root/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2019-08-02 11:18:53 -0700
committerRoshan Pius <rpius@google.com>2019-08-06 14:52:15 -0700
commit138d7dbe7a142e286d656fdd57bc9b40b855c982 (patch)
tree068a5e9bfec9268923dac3187aa0ced4d5afbdf2 /tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java
parentece7e1bb352a57ed82124173449b7d5b6d479e8e (diff)
downloadandroid_frameworks_opt_net_wifi-138d7dbe7a142e286d656fdd57bc9b40b855c982.tar.gz
android_frameworks_opt_net_wifi-138d7dbe7a142e286d656fdd57bc9b40b855c982.tar.bz2
android_frameworks_opt_net_wifi-138d7dbe7a142e286d656fdd57bc9b40b855c982.zip
Revert "WifiConfigStore: Limit integrity checks to single user devices"
This reverts commit 8e70909c098f29b008d062e0cb30f313d300542d. Removing workaround. Proper fix in CL above. Bug: 138482990 Test: N/A Change-Id: Iaee7746a3afc0fd6e80daa77ce5034e660261e8b
Diffstat (limited to 'tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java b/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java
index 28964b109..686b2098d 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java
@@ -229,8 +229,7 @@ public class WifiConfigManagerTest {
mSession = ExtendedMockito.mockitoSession()
.mockStatic(WifiConfigStore.class, withSettings().lenient())
.startMocking();
- when(WifiConfigStore.createUserFiles(anyInt(), any(UserManager.class)))
- .thenReturn(mock(List.class));
+ when(WifiConfigStore.createUserFiles(anyInt())).thenReturn(mock(List.class));
when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mDataTelephonyManager);
}