summaryrefslogtreecommitdiff
path: root/core/java/android/database
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2018-12-11 19:47:33 +0100
committerAdrian Roos <roosa@google.com>2018-12-11 20:38:02 +0100
commit66f859135b1458fe3514ee14b60e583767b47599 (patch)
treeeeed1679b703313172401a75180d9cd36ae97779 /core/java/android/database
parenta6d828755ee306c0e01a078530c22bd83d56f55f (diff)
API: Clean up redundant and ineffective usages of SystemApi and TestApi
Everything that is marked SystemApi or TestApi, but not @hide is still part of the public SDK, it is therefore not sound to have that combination. In the future, specifing such a combination will be considered an error to prevent inadvertently exposing SystemApi and TestApi as public API. Bug: 115333477 Change-Id: Ibd5d6a22862fdbc1e20a1cb3925280f5a682edea Test: METALAVA_PREPEND_ARGS="--error UnhiddenSystemApi" m checkapi Exempt-From-Owner-Approval: API cleanup
Diffstat (limited to 'core/java/android/database')
-rw-r--r--core/java/android/database/sqlite/SQLiteDebug.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/java/android/database/sqlite/SQLiteDebug.java b/core/java/android/database/sqlite/SQLiteDebug.java
index f220205b5f26..4fc7f5d257a9 100644
--- a/core/java/android/database/sqlite/SQLiteDebug.java
+++ b/core/java/android/database/sqlite/SQLiteDebug.java
@@ -143,7 +143,6 @@ public final class SQLiteDebug {
/**
* contains statistics about a database
*/
- @TestApi
public static class DbStats {
/** name of the database */
public String dbName;
@@ -175,7 +174,6 @@ public final class SQLiteDebug {
* return all pager and database stats for the current process.
* @return {@link PagerStats}
*/
- @TestApi
public static PagerStats getDatabaseInfo() {
PagerStats stats = new PagerStats();
nativeGetPagerStats(stats);