Update supported version for IndexableProcessor to Java 11

Test: m
Bug: 234418964
Change-Id: I0459bdab55d36cf532160958654e736026db5204
This commit is contained in:
Sorin Basca
2022-05-30 21:37:21 +01:00
parent ac8e1f6cf3
commit fdd84aaf0e

View File

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