Update nullability of toSafeString api in Uri class.
Fix:
126701632
Test: make
Change-Id: I58f60259296fb1f638222887c67b5d85c7997a13
method public abstract boolean isRelative();
method public android.net.Uri normalizeScheme();
method public static android.net.Uri parse(String);
- method public String toSafeString();
+ method @NonNull public String toSafeString();
method public abstract String toString();
method public static android.net.Uri withAppendedPath(android.net.Uri, String);
method public static void writeToParcel(android.os.Parcel, android.net.Uri);
package android.net;
+import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.UnsupportedAppUsage;
import android.content.Intent;
* returned as {@code http://example.com/...}.
* @return the common forms PII redacted string of this URI
*/
+ @NonNull
public String toSafeString() {
String scheme = getScheme();
String ssp = getSchemeSpecificPart();