From 7a29ca696e2dfe2898cd2e85868a40c8651e0a94 Mon Sep 17 00:00:00 2001 From: Leland Miller Date: Mon, 15 Apr 2019 15:57:28 -0700 Subject: [PATCH] Annotate Part Uri as @NonNull This is in response to automated API feedback. Change-Id: I6f3c7675dc09bdca6bc30e1b7a8718e46f6ff4b4 Fix: 126699938 Test: Build and existing tests pass --- api/current.txt | 2 +- telephony/java/android/provider/Telephony.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/current.txt b/api/current.txt index 4bbae3b14f7df..aadf196f01d2d 100644 --- a/api/current.txt +++ b/api/current.txt @@ -39397,7 +39397,7 @@ package android.provider { field public static final String CONTENT_ID = "cid"; field public static final String CONTENT_LOCATION = "cl"; field public static final String CONTENT_TYPE = "ct"; - field public static final android.net.Uri CONTENT_URI; + field @NonNull public static final android.net.Uri CONTENT_URI; field public static final String CT_START = "ctt_s"; field public static final String CT_TYPE = "ctt_t"; field public static final String FILENAME = "fn"; diff --git a/telephony/java/android/provider/Telephony.java b/telephony/java/android/provider/Telephony.java index 2d8a8cbae59f3..ba9ac22f7b176 100644 --- a/telephony/java/android/provider/Telephony.java +++ b/telephony/java/android/provider/Telephony.java @@ -3039,6 +3039,7 @@ public final class Telephony { * The {@code content://} style URL for this table. Can be appended with a part ID to * address individual parts. */ + @NonNull public static final Uri CONTENT_URI = Uri.withAppendedPath(Mms.CONTENT_URI, "part"); /**