diff options
| author | 2022-04-18 09:00:24 -0500 | |
|---|---|---|
| committer | 2022-04-18 09:27:24 -0500 | |
| commit | db07b07b2b198f0bdc7bfb817b35410970b65f3c (patch) | |
| tree | a6d310bb6462abc9d425697ffcecdab926f338f7 /libs/androidfw/ZipFileRO.cpp | |
| parent | e360c271c6f02693d189774f5967c237896d2d7b (diff) | |
Construct Region object with nativeObject
The default ctor for the Java Region object creates a native SkRegion
object. Hoewver, in the JNI code we overwrite the native pointer so the
native object created from the default ctor never gets cleaned up.
Instead, use the ctor that accepts a native ptr so we create the Region
object with native info populated.
Test: Builds
Fixes: 229537097
Change-Id: I89e4b8ec985c538e7337c0e80415d3b6474da78e
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions