diff options
| author | 2024-01-17 05:47:11 +0000 | |
|---|---|---|
| committer | 2024-01-17 05:47:15 +0000 | |
| commit | 0fb2e3833e4ba12be6bb18e0c09c70867d7fb58f (patch) | |
| tree | 6396f04c3658f90d5effa3123d77f4df81be47e8 | |
| parent | 6bf8e9bd7d0df10f61ccafc40e331ba65954ccf8 (diff) | |
Update @UsesReflection annotation
The `extends` properties have been deprecated and removed
in favor of the `instanceOf` properties.
Change-Id: I194dd9d33d4fac0bc1eabe7a43709a7b8f5c8ee4
Test: na
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/SystemUIAppComponentFactoryBase.kt | 2 |
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) { |