OSDN Git Service

Destroy Allocation right away on exception
authorYang Ni <yangni@google.com>
Fri, 28 Apr 2017 15:49:01 +0000 (08:49 -0700)
committerYang Ni <yangni@google.com>
Fri, 5 May 2017 15:32:34 +0000 (15:32 +0000)
commitc48a09cce85cbaeeaa75f9697807773bb99487eb
tree0722af39d21016d290b73dc5f4e65105b7119b6b
parent31fb17bbf92bcbd16222b072d508366ac883d50a
Destroy Allocation right away on exception

Bug: 28053584

To avoid holding the resource (surface) for too long.

Test: CTS on x86_64 emulator
Change-Id: I2fdec107c2a16b7dadbf78a9aee79c33423a3676
rs/java/android/renderscript/Allocation.java