Loading api/system-current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -4965,8 +4965,8 @@ package android.net.wifi.hotspot2 { public final class OsuProvider implements android.os.Parcelable { method public int describeContents(); method public String getFriendlyName(); method public android.net.Uri getServerUri(); method @Nullable public String getFriendlyName(); method @Nullable public android.net.Uri getServerUri(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.hotspot2.OsuProvider> CREATOR; } Loading wifi/java/android/net/wifi/hotspot2/OsuProvider.java +3 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.net.wifi.hotspot2; import android.annotation.Nullable; import android.annotation.SystemApi; import android.graphics.drawable.Icon; import android.net.Uri; Loading Loading @@ -156,7 +157,7 @@ public final class OsuProvider implements Parcelable { * * @return String matching the default locale, null otherwise */ public String getFriendlyName() { public @Nullable String getFriendlyName() { if (mFriendlyNames == null || mFriendlyNames.isEmpty()) return null; String lang = Locale.getDefault().getLanguage(); String friendlyName = mFriendlyNames.get(lang); Loading @@ -180,7 +181,7 @@ public final class OsuProvider implements Parcelable { return mServiceDescription; } public Uri getServerUri() { public @Nullable Uri getServerUri() { return mServerUri; } Loading Loading
api/system-current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -4965,8 +4965,8 @@ package android.net.wifi.hotspot2 { public final class OsuProvider implements android.os.Parcelable { method public int describeContents(); method public String getFriendlyName(); method public android.net.Uri getServerUri(); method @Nullable public String getFriendlyName(); method @Nullable public android.net.Uri getServerUri(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.hotspot2.OsuProvider> CREATOR; } Loading
wifi/java/android/net/wifi/hotspot2/OsuProvider.java +3 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.net.wifi.hotspot2; import android.annotation.Nullable; import android.annotation.SystemApi; import android.graphics.drawable.Icon; import android.net.Uri; Loading Loading @@ -156,7 +157,7 @@ public final class OsuProvider implements Parcelable { * * @return String matching the default locale, null otherwise */ public String getFriendlyName() { public @Nullable String getFriendlyName() { if (mFriendlyNames == null || mFriendlyNames.isEmpty()) return null; String lang = Locale.getDefault().getLanguage(); String friendlyName = mFriendlyNames.get(lang); Loading @@ -180,7 +181,7 @@ public final class OsuProvider implements Parcelable { return mServiceDescription; } public Uri getServerUri() { public @Nullable Uri getServerUri() { return mServerUri; } Loading