OSDN Git Service

Ensure native allocation/free is correctly registered
authorDoris Liu <tianliu@google.com>
Thu, 14 Jul 2016 23:00:52 +0000 (16:00 -0700)
committerDoris Liu <tianliu@google.com>
Fri, 15 Jul 2016 00:00:20 +0000 (00:00 +0000)
commit26bb10999b1a8a64383337117fe58505eb75e9e7
treea243b1fe3774297c66babae0fe2a1331db3e53c6
parent538b836e05776e5a98d568997ff8d173a3e0f5dc
Ensure native allocation/free is correctly registered

This CL fixes an issue where one of the constructors creates a
native tree object without registering the allocation of its
root group with the NativeAllocationRegistry.

BUG: 28943866
Change-Id: Ic8db3f2fa8036dfabdbc1a1fcbd58d08a0379e2d
graphics/java/android/graphics/drawable/VectorDrawable.java