use of org.robolectric.annotation.HiddenApi in project robolectric by robolectric.
the class ShadowWifiManager method addOnWifiUsabilityStatsListener.
@Implementation(minSdk = Q)
@HiddenApi
protected void addOnWifiUsabilityStatsListener(Object executorObject, Object listenerObject) {
Executor executor = (Executor) executorObject;
WifiManager.OnWifiUsabilityStatsListener listener = (WifiManager.OnWifiUsabilityStatsListener) listenerObject;
wifiUsabilityStatsListeners.put(listener, executor);
}
Aggregations