diff options
author | 2024-07-22 09:40:33 -0700 | |
---|---|---|
committer | 2024-07-31 16:14:17 +0000 | |
commit | 6a5fdc1d5f6f76c5938aa73f72941bd3f2643628 (patch) | |
tree | 5a7eebc4271bb61baf1ee2cc1dca64cc9ac69a01 /libs/gui/Surface.cpp | |
parent | f0bf07f91b2d3f16d810fde9d5c178d9b7e4a48a (diff) |
Remove redundant connect methods in Surface.
Test: Surface_test
Bug: 354273690
Flag: EXEMPT - strict mechanical refactor. We were going to add one but
decided not to.
Change-Id: I8c4cc702726e12b169fc4fa0b158623d0a47913a
Diffstat (limited to 'libs/gui/Surface.cpp')
-rw-r--r-- | libs/gui/Surface.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libs/gui/Surface.cpp b/libs/gui/Surface.cpp index a98a3c0850..4a8df9e1bb 100644 --- a/libs/gui/Surface.cpp +++ b/libs/gui/Surface.cpp @@ -2027,15 +2027,6 @@ int Surface::connect(int api) { return connect(api, listener); } -int Surface::connect(int api, const sp<SurfaceListener>& listener) { - return connect(api, listener, false); -} - -int Surface::connect( - int api, bool reportBufferRemoval, const sp<SurfaceListener>& sListener) { - return connect(api, sListener, reportBufferRemoval); -} - int Surface::connect(int api, const sp<SurfaceListener>& listener, bool reportBufferRemoval) { ATRACE_CALL(); ALOGV("Surface::connect"); |