summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nikita Iashchenko <nikitai@google.com> 2021-04-20 23:10:32 +0000
committer Nikita Iashchenko <nikitai@google.com> 2021-04-20 23:10:32 +0000
commita643441aec055b45165e64c0f3ecb40119028df1 (patch)
treeeb3eb799ce660ba7bf36b154625c4fe5549dcccc
parent9026f587b79fec86a62c6effaf9f277b213ad841 (diff)
Remove usage of optimized reflection getters
As a part of internal libcore API cleanup some of the functions previously exposed are getting removed from public surface. This CL replaces usage of art optimized reflection methods with default ones. Bug: 154796679 Test: m droid Change-Id: I14cfa4af95e2d4b34cee02decaec33d928c25b73
-rw-r--r--core/java/android/view/ViewDebug.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/ViewDebug.java b/core/java/android/view/ViewDebug.java
index 6a07f644fd07..68d665fb056f 100644
--- a/core/java/android/view/ViewDebug.java
+++ b/core/java/android/view/ViewDebug.java
@@ -1464,8 +1464,8 @@ public class ViewDebug {
PropertyInfo<ExportedProperty, ?>[] properties = sExportProperties.get(klass);
if (properties == null) {
- properties = convertToPropertyInfos(klass.getDeclaredMethodsUnchecked(false),
- klass.getDeclaredFieldsUnchecked(false), ExportedProperty.class);
+ properties = convertToPropertyInfos(klass.getDeclaredMethods(),
+ klass.getDeclaredFields(), ExportedProperty.class);
map.put(klass, properties);
}
return properties;