Merge "Remove usage of optimized reflection getters" am: 9d0bfe1b0a am: f10f3736ea
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1682029 Change-Id: I870f7eee1c5f113b00aa560e4951084be8daf3d5
This commit is contained in:
@@ -1464,8 +1464,8 @@ public class ViewDebug {
|
|||||||
PropertyInfo<ExportedProperty, ?>[] properties = sExportProperties.get(klass);
|
PropertyInfo<ExportedProperty, ?>[] properties = sExportProperties.get(klass);
|
||||||
|
|
||||||
if (properties == null) {
|
if (properties == null) {
|
||||||
properties = convertToPropertyInfos(klass.getDeclaredMethodsUnchecked(false),
|
properties = convertToPropertyInfos(klass.getDeclaredMethods(),
|
||||||
klass.getDeclaredFieldsUnchecked(false), ExportedProperty.class);
|
klass.getDeclaredFields(), ExportedProperty.class);
|
||||||
map.put(klass, properties);
|
map.put(klass, properties);
|
||||||
}
|
}
|
||||||
return properties;
|
return properties;
|
||||||
|
|||||||
Reference in New Issue
Block a user