diff options
author | Jimmy Chen <jimmycmchen@google.com> | 2019-01-16 16:05:25 +0800 |
---|---|---|
committer | Jimmy Chen <jimmycmchen@google.com> | 2019-01-18 17:21:44 +0800 |
commit | e6cb58e4adb167db2a1b6bd9da51612a1c2e88f3 (patch) | |
tree | 57e23f22823ecb1543b1c53da83db5574d337335 /tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java | |
parent | f82ab892db971df60072bf24530c37e2f00b5151 (diff) | |
download | android_frameworks_opt_net_wifi-e6cb58e4adb167db2a1b6bd9da51612a1c2e88f3.tar.gz android_frameworks_opt_net_wifi-e6cb58e4adb167db2a1b6bd9da51612a1c2e88f3.tar.bz2 android_frameworks_opt_net_wifi-e6cb58e4adb167db2a1b6bd9da51612a1c2e88f3.zip |
wifi: extend feature flag from int to long
WiFi features run out of all 32 bits of int.
Extend feature flag from int to long for more bits.
Bug: 122939035
Test: build
Test: atest frameworks/opt/net/wifi/tests/wifitests
Change-Id: I73e7c53b52a75b6027770e18f1df44ec272eb9c8
Diffstat (limited to 'tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java b/tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java index 0a683fed2..f88496b8e 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiServiceImplTest.java @@ -1234,7 +1234,7 @@ public class WifiServiceImplTest { .thenReturn(true); when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)).thenReturn(true); when(mClientModeImpl.syncGetSupportedFeatures(any(AsyncChannel.class))) - .thenReturn(WIFI_FEATURE_INFRA_5G); + .thenReturn((long) WIFI_FEATURE_INFRA_5G); verify(mAsyncChannel).connect(any(), mHandlerCaptor.capture(), any(Handler.class)); final Handler handler = mHandlerCaptor.getValue(); |