Loading wifi/java/android/net/wifi/IWifiManager.aidl +0 −2 Original line number Diff line number Diff line Loading @@ -108,8 +108,6 @@ interface IWifiManager boolean isDualBandSupported(); boolean saveConfiguration(String packageName); DhcpInfo getDhcpInfo(); boolean isScanAlwaysAvailable(); Loading wifi/java/android/net/wifi/WifiManager.java +2 −6 Original line number Diff line number Diff line Loading @@ -1693,18 +1693,14 @@ public class WifiManager { * existing networks. You should assume the network IDs can be different * after calling this method. * * @return {@code true} if the operation succeeded * @return {@code false} Will always return true. * @deprecated There is no need to call this method - * {@link #addNetwork(WifiConfiguration)}, {@link #updateNetwork(WifiConfiguration)} * and {@link #removeNetwork(int)} already persist the configurations automatically. */ @Deprecated public boolean saveConfiguration() { try { return mService.saveConfiguration(mContext.getOpPackageName()); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } return true; } /** Loading Loading
wifi/java/android/net/wifi/IWifiManager.aidl +0 −2 Original line number Diff line number Diff line Loading @@ -108,8 +108,6 @@ interface IWifiManager boolean isDualBandSupported(); boolean saveConfiguration(String packageName); DhcpInfo getDhcpInfo(); boolean isScanAlwaysAvailable(); Loading
wifi/java/android/net/wifi/WifiManager.java +2 −6 Original line number Diff line number Diff line Loading @@ -1693,18 +1693,14 @@ public class WifiManager { * existing networks. You should assume the network IDs can be different * after calling this method. * * @return {@code true} if the operation succeeded * @return {@code false} Will always return true. * @deprecated There is no need to call this method - * {@link #addNetwork(WifiConfiguration)}, {@link #updateNetwork(WifiConfiguration)} * and {@link #removeNetwork(int)} already persist the configurations automatically. */ @Deprecated public boolean saveConfiguration() { try { return mService.saveConfiguration(mContext.getOpPackageName()); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } return true; } /** Loading