android/source/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java | 2 +- android/source/src/java/org/mozilla/gecko/gfx/LayerView.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
New commits: commit dac40d1ab224e7c7515056923191e3921dcea58f Author: Michael Weghorn <[email protected]> AuthorDate: Tue Nov 11 12:43:27 2025 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Wed Nov 12 01:39:55 2025 +0100 android: Make some fields final Change-Id: I79629181e340bf04c75caeac722dc9c267606cea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193793 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/android/source/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java b/android/source/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java index 29216b8092df..6787e1be5faf 100644 --- a/android/source/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java +++ b/android/source/src/java/org/mozilla/gecko/gfx/GeckoLayerClient.java @@ -20,7 +20,7 @@ public class GeckoLayerClient implements PanZoomTarget { private LayerRenderer mLayerRenderer; - private LibreOfficeMainActivity mContext; + private final LibreOfficeMainActivity mContext; private IntSize mScreenSize; private DisplayPortMetrics mDisplayPort; 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 29049f92912d..2a36e99d2636 100644 --- a/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java +++ b/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java @@ -37,19 +37,19 @@ import org.mozilla.gecko.OnSlideSwipeListener; * mediator between the LayerRenderer and the LayerController. */ public class LayerView extends FrameLayout { - private static String LOGTAG = LayerView.class.getName(); + private static final String LOGTAG = LayerView.class.getName(); private GeckoLayerClient mLayerClient; private PanZoomController mPanZoomController; - private GLController mGLController; + private final GLController mGLController; private InputConnectionHandler mInputConnectionHandler; private LayerRenderer mRenderer; - private SurfaceView mSurfaceView; + private final SurfaceView mSurfaceView; private Listener mListener; private OnInterceptTouchListener mTouchIntercepter; - private LibreOfficeMainActivity mContext; + private final LibreOfficeMainActivity mContext; public LayerView(Context context, AttributeSet attrs) { super(context, attrs);
