Merge "Update supported version for IndexableProcessor to Java 11" am: acc5373da5 am: dd84d6c4e0 am: ced8f8d7eb

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2110705

Change-Id: I494f7499f3bc88f016f7a962676d64eaef2b7304
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Sorin Basca
2022-06-06 13:36:39 +00:00
committed by Automerger Merge Worker

View File

@@ -47,7 +47,7 @@ import javax.tools.Diagnostic.Kind;
* Annotation processor for {@link SearchIndexable} that generates {@link SearchIndexableResources} * Annotation processor for {@link SearchIndexable} that generates {@link SearchIndexableResources}
* subclasses. * subclasses.
*/ */
@SupportedSourceVersion(SourceVersion.RELEASE_9) @SupportedSourceVersion(SourceVersion.RELEASE_11)
@SupportedAnnotationTypes({"com.android.settingslib.search.SearchIndexable"}) @SupportedAnnotationTypes({"com.android.settingslib.search.SearchIndexable"})
public class IndexableProcessor extends AbstractProcessor { public class IndexableProcessor extends AbstractProcessor {
@@ -217,4 +217,4 @@ public class IndexableProcessor extends AbstractProcessor {
mFiler = processingEnvironment.getFiler(); mFiler = processingEnvironment.getFiler();
mMessager = processingEnvironment.getMessager(); mMessager = processingEnvironment.getMessager();
} }
} }