Fix some incorrect annotations in AppSearch.
Bug: 180763772 Test: Builds Change-Id: I9f5dd9af8e3f3715be58004bb70bee5c5692b721
This commit is contained in:
@@ -170,7 +170,7 @@ public final class PlatformLogger implements AppSearchLogger {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void logStats(@androidx.annotation.NonNull RemoveStats stats) throws AppSearchException {
|
||||
public void logStats(@NonNull RemoveStats stats) throws AppSearchException {
|
||||
// TODO(b/173532925): Log stats
|
||||
}
|
||||
|
||||
|
||||
@@ -16,12 +16,11 @@
|
||||
package com.android.server.appsearch.visibilitystore;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
import android.app.appsearch.AppSearchSchema;
|
||||
import android.app.appsearch.GenericDocument;
|
||||
import android.app.appsearch.PackageIdentifier;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
/**
|
||||
* Holds configuration about a package+cert that can access a schema.
|
||||
*
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
package com.android.server.appsearch.visibilitystore;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
import android.app.appsearch.AppSearchSchema;
|
||||
import android.app.appsearch.GenericDocument;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
/** Holds the visibility settings that apply to a package's databases. */
|
||||
class VisibilityDocument extends GenericDocument {
|
||||
/** Schema type for documents that hold AppSearch's metadata, e.g. visibility settings */
|
||||
|
||||
Reference in New Issue
Block a user