Use getType to get the annotation type for an annotation encoded value

This commit is contained in:
Ben Gruver 2012-10-31 22:24:44 -07:00
parent 3f3427d0dd
commit 476e704c86

View File

@ -49,7 +49,7 @@ public class DexBackedAnnotationEncodedValue implements AnnotationEncodedValue {
public DexBackedAnnotationEncodedValue(@Nonnull DexReader reader) {
this.dexBuf = reader.getDexBuffer();
this.type = reader.getString(reader.readSmallUleb128());
this.type = reader.getType(reader.readSmallUleb128());
this.elementsOffset = reader.getOffset();
skipElements(reader);
}