summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ian Zerny <zerny@google.com> 2024-01-17 14:34:28 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-01-17 14:34:28 +0000
commit0ce93f6c456165dddf99e1001126dd95092c43ff (patch)
tree3dca33a4268efacbb069823e2ed76b76d5ad80dd
parent3ce31c96d218bac7cf86907086aaed0e8e6e6754 (diff)
parent0fb2e3833e4ba12be6bb18e0c09c70867d7fb58f (diff)
Merge "Update @UsesReflection annotation" into main
-rw-r--r--packages/SystemUI/src/com/android/systemui/SystemUIAppComponentFactoryBase.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/SystemUIAppComponentFactoryBase.kt b/packages/SystemUI/src/com/android/systemui/SystemUIAppComponentFactoryBase.kt
index b15aaaf9a00e..e88aaf015f87 100644
--- a/packages/SystemUI/src/com/android/systemui/SystemUIAppComponentFactoryBase.kt
+++ b/packages/SystemUI/src/com/android/systemui/SystemUIAppComponentFactoryBase.kt
@@ -91,7 +91,7 @@ abstract class SystemUIAppComponentFactoryBase : AppComponentFactory() {
return app
}
- @UsesReflection(KeepTarget(extendsClassConstant = SysUIComponent::class, methodName = "inject"))
+ @UsesReflection(KeepTarget(instanceOfClassConstant = SysUIComponent::class, methodName = "inject"))
override fun instantiateProviderCompat(cl: ClassLoader, className: String): ContentProvider {
val contentProvider = super.instantiateProviderCompat(cl, className)
if (contentProvider is ContextInitializer) {