android/source/src/java/org/mozilla/gecko/gfx/LayerView.java | 2 -- 1 file changed, 2 deletions(-)
New commits: commit cdb605f85a7abf3b403ed8160a323f6f94296ae3 Author: Michael Weghorn <[email protected]> AuthorDate: Wed Nov 19 11:48:09 2025 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Thu Nov 20 00:08:44 2025 +0100 android: Drop LayerView.mContext It's only assigned in the ctor, but never used later. Change-Id: Ie7876c8eb4f22cd03f1e3743950e402b51c67db1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194198 Reviewed-by: Michael Weghorn <[email protected]> Tested-by: Jenkins diff --git a/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java b/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java index 3fb3c67e0349..a912a1ef908d 100644 --- a/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java +++ b/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java @@ -47,11 +47,9 @@ public class LayerView extends FrameLayout { private final SurfaceView mSurfaceView; private Listener mListener; - private final LibreOfficeMainActivity mContext; public LayerView(Context context, AttributeSet attrs) { super(context, attrs); - mContext = (LibreOfficeMainActivity) context; mSurfaceView = new SurfaceView(context); addView(mSurfaceView, ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
