Loading wifi/java/android/net/wifi/SoftApConfiguration.java +9 −0 Original line number Diff line number Diff line Loading @@ -538,6 +538,15 @@ public final class SoftApConfiguration implements Parcelable { if (!SdkLevel.isAtLeastS()) { throw new UnsupportedOperationException(); } return getChannelsInternal(); } /** * Internal version bypassing SdkLevel checks * TODO(b/173791707): find a better way to allow Wifi to call its own new S APIs. * @hide */ public @NonNull SparseIntArray getChannelsInternal() { return mChannels.clone(); } Loading wifi/java/android/net/wifi/SoftApInfo.java +9 −0 Original line number Diff line number Diff line Loading @@ -183,6 +183,15 @@ public final class SoftApInfo implements Parcelable { if (!SdkLevel.isAtLeastS()) { throw new UnsupportedOperationException(); } return getWifiStandardInternal(); } /** * Internal version bypassing SdkLevel checks * TODO(b/173791707): find a better way to allow Wifi to call its own new S APIs. * @hide */ public @WifiAnnotations.WifiStandard int getWifiStandardInternal() { return mWifiStandard; } Loading Loading
wifi/java/android/net/wifi/SoftApConfiguration.java +9 −0 Original line number Diff line number Diff line Loading @@ -538,6 +538,15 @@ public final class SoftApConfiguration implements Parcelable { if (!SdkLevel.isAtLeastS()) { throw new UnsupportedOperationException(); } return getChannelsInternal(); } /** * Internal version bypassing SdkLevel checks * TODO(b/173791707): find a better way to allow Wifi to call its own new S APIs. * @hide */ public @NonNull SparseIntArray getChannelsInternal() { return mChannels.clone(); } Loading
wifi/java/android/net/wifi/SoftApInfo.java +9 −0 Original line number Diff line number Diff line Loading @@ -183,6 +183,15 @@ public final class SoftApInfo implements Parcelable { if (!SdkLevel.isAtLeastS()) { throw new UnsupportedOperationException(); } return getWifiStandardInternal(); } /** * Internal version bypassing SdkLevel checks * TODO(b/173791707): find a better way to allow Wifi to call its own new S APIs. * @hide */ public @WifiAnnotations.WifiStandard int getWifiStandardInternal() { return mWifiStandard; } Loading