OSDN Git Service

Remove WifiManager#get/setFrequencyBand
authorChristopher Wiley <wiley@google.com>
Mon, 19 Sep 2016 21:09:42 +0000 (14:09 -0700)
committerChristopher Wiley <wiley@google.com>
Tue, 20 Sep 2016 22:33:38 +0000 (15:33 -0700)
commit79ec1736be23bc624f67d65195ac5ac40def8f9e
tree766b1b06337ed986c70b791ec88ac750ea3235f8
parentdfa6e6f18650cfab8c8f6b7269ef131e391484ee
Remove WifiManager#get/setFrequencyBand

These methods are marked @hide and only partially implemented by
the WifiService.  In general, it seems wrong to strictly prefer
one WiFi band over another for all WiFi operations.  To reduce
implementation complexity, cause setFrequencyBand to become a noop
and getFrequencyBand to reflect the underlying reality, which is
that we will always operate on all supported bands.

Bug: 31148223
Test: Compiles
Change-Id: Iccff517915f7d5ed7e96bf56e4f195b2cda80f0a
wifi/java/android/net/wifi/IWifiManager.aidl
wifi/java/android/net/wifi/WifiManager.java