commit | 6104cea3fb0bddd766f390f9f4e2db9fc00b410e | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Thu Jan 10 14:37:17 2019 -0800 |
committer | John Reck <jreck@google.com> | Thu Jan 10 15:34:49 2019 -0800 |
tree | 3493ab6e3dc09dd9ffd027bc1fa85cc84abb2635 | |
parent | 8b9351ba04eef507d4ff97a84d0c13df60507daf [diff] [blame] |
Fix leak/crash in exit Bug: 120440607 Test: hwuimacro32 doesn't crash Change-Id: I35b7a924e338efb314f07b923ba22ffcf98f75ee
diff --git a/libs/hwui/HardwareBitmapUploader.h b/libs/hwui/HardwareBitmapUploader.h index 6298013..40f2b0c 100644 --- a/libs/hwui/HardwareBitmapUploader.h +++ b/libs/hwui/HardwareBitmapUploader.h
@@ -23,6 +23,7 @@ class HardwareBitmapUploader { public: static sk_sp<Bitmap> allocateHardwareBitmap(const SkBitmap& sourceBitmap); + static void terminate(); }; } // namespace android::uirenderer