diff options
| author | 2021-09-10 10:46:28 +0100 | |
|---|---|---|
| committer | 2023-11-03 16:22:38 +0000 | |
| commit | 8db3da55656b2ac1a8f82797a018a6930b0ad5ac (patch) | |
| tree | 2e5cc04349c79c420e3602cd69d4d5b671c14d25 | |
| parent | 3c144386a39dfc34229b67b2c61cd1502a9b17d9 (diff) | |
Add destroy method to hostgraphics version of Surface
This method was added in Change I88fe98fa.
Bug: 74062470
Test: lunch sdk && m libandroid_runtime
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:56f536db5a6224ce9dccbbdadc17acd6c0158569)
Merged-In: I9d1740b703d29913c2865240f8afac06f7dd5409
Change-Id: I9d1740b703d29913c2865240f8afac06f7dd5409
| -rw-r--r-- | libs/hostgraphics/gui/Surface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hostgraphics/gui/Surface.h b/libs/hostgraphics/gui/Surface.h index de1ba00211d3..2573931c8543 100644 --- a/libs/hostgraphics/gui/Surface.h +++ b/libs/hostgraphics/gui/Surface.h @@ -50,6 +50,8 @@ public: virtual int unlockAndPost() { return 0; } virtual int query(int what, int* value) const { return 0; } + virtual void destroy() {} + protected: virtual ~Surface() {} |