From 72bd91e174e61fa90ac5588baa7bd01f1d75c49c Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Wed, 19 Nov 2025 11:45:39 +0100 Subject: [PATCH] android: Make a constant static ... and use uppercase letters for its name. Change-Id: Ib10b792d55928223d7484b7fb339ca252532bc28 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194197 Tested-by: Jenkins Reviewed-by: Michael Weghorn --- .../src/java/org/libreoffice/overlay/DocumentOverlay.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java b/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java index 15396388876b..228e8d2e1d77 100644 --- a/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java +++ b/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java @@ -32,7 +32,7 @@ public class DocumentOverlay { private final DocumentOverlayView mDocumentOverlayView; private final DocumentOverlayLayer mDocumentOverlayLayer; - private final long hidePageNumberRectDelayInMilliseconds = 500; + private static final long HIDE_PAGE_NUMBER_RECT_DELAY_IN_MILLISECONDS = 500; /** * DocumentOverlayLayer responsibility is to get the changes to the viewport @@ -118,7 +118,7 @@ public class DocumentOverlay { public void run() { mDocumentOverlayView.hidePageNumberRect(); } - }, hidePageNumberRectDelayInMilliseconds); + }, HIDE_PAGE_NUMBER_RECT_DELAY_IN_MILLISECONDS); } /**