From ff73f858da60f1848a2c08c4cd3f0caa82a4304e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20L=C3=A9vy?= Date: Wed, 20 Nov 2019 17:48:22 +0100 Subject: [PATCH] Update ScreenBrightnessPackage.java --- .../react/ScreenBrightness/ScreenBrightnessPackage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/robinpowered/react/ScreenBrightness/ScreenBrightnessPackage.java b/android/src/main/java/com/robinpowered/react/ScreenBrightness/ScreenBrightnessPackage.java index d2f6d72..d0f6cc5 100644 --- a/android/src/main/java/com/robinpowered/react/ScreenBrightness/ScreenBrightnessPackage.java +++ b/android/src/main/java/com/robinpowered/react/ScreenBrightness/ScreenBrightnessPackage.java @@ -14,9 +14,9 @@ import java.util.List; public class ScreenBrightnessPackage implements ReactPackage { - private final int mWriteSettingsRequestCode; + private final int mWriteSettingsRequestCode = 1; - public ScreenBrightnessPackage(final int writeSettingsRequestCode) { + public ScreenBrightnessPackage() { mWriteSettingsRequestCode = writeSettingsRequestCode; }