diff options
| author | Mathew Inwood <mathewi@google.com> | 2018-08-10 16:10:20 +0100 |
|---|---|---|
| committer | Mathew Inwood <mathewi@google.com> | 2018-08-10 16:10:20 +0100 |
| commit | f86bea9b4277d9fe2c1b8bfae872a8fad15c4dc1 (patch) | |
| tree | 36843bee2b9132d552371ff9698d42d022774004 /core/java/android/database/DatabaseUtils.java | |
| parent | f7c2fd6a38591e30e9508b3244405ba7c861a8d4 (diff) | |
Add @UnsupportedAppUsage annotations
For packages:
android.database.sqlite
android.database
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: I0da613d00611e89e49bf73c9ffe35700818efc6b
Merged-In: I2bcc7f0eee31a1775dd7a5dd0f291d0d37bc1292
Diffstat (limited to 'core/java/android/database/DatabaseUtils.java')
| -rw-r--r-- | core/java/android/database/DatabaseUtils.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/database/DatabaseUtils.java b/core/java/android/database/DatabaseUtils.java index 3d019f07cb84..47567c34baf1 100644 --- a/core/java/android/database/DatabaseUtils.java +++ b/core/java/android/database/DatabaseUtils.java @@ -16,6 +16,7 @@ package android.database; +import android.annotation.UnsupportedAppUsage; import android.content.ContentValues; import android.content.Context; import android.content.OperationApplicationException; @@ -232,6 +233,7 @@ public class DatabaseUtils { * @return object value type * @hide */ + @UnsupportedAppUsage public static int getTypeOfObject(Object obj) { if (obj == null) { return Cursor.FIELD_TYPE_NULL; @@ -760,6 +762,7 @@ public class DatabaseUtils { * the requested row. * @hide */ + @UnsupportedAppUsage public static int cursorPickFillWindowStartPosition( int cursorPosition, int cursorWindowCapacity) { return Math.max(cursorPosition - cursorWindowCapacity / 3, 0); |
