summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author Kwangkyu Park <kk48.park@samsung.com> 2022-08-12 16:28:31 +0900
committer Kwangkyu Park <kk48.park@samsung.com> 2022-08-12 16:39:08 +0900
commiteb11b2401b2b964281c79c4615d174f32987e87c (patch)
tree8ce64e5887f1059c0ced45331caed036ccef624f /opengl/java
parent00545d0fd6ba561271b690bac51f3439d3bc56e5 (diff)
Fix an issue that the FoldStateListener induces a memory leak
FoldStateListener is non-static inner class and keeps reference to the outer class which is CameraManager. As CameraManager also keeps context with mContext, memory leak could exist. Changing FoldStateListener to static inner class, so that the class won't keep the reference. Bug: 242264787 Test: Manual test with memory profiling Change-Id: I77652bd94b50eabc80041e13274b619c0da36601
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions