From 2b97ecf1fdc146f08bbb94f4fa346e44164c1fc4 Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 03:16:38 +0900 Subject: [PATCH] =?UTF-8?q?utils:=20=E3=82=A2=E3=83=97=E3=83=AA=E3=81=AE?= =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=83=86=E3=82=AD=E3=82=B9=E3=83=88=E3=82=92?= =?UTF-8?q?=E5=8F=96=E5=BE=97=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/utils/impl/DeviceInfoUtilsImpl.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/utils/src/main/java/one/nem/lacerta/utils/impl/DeviceInfoUtilsImpl.java b/utils/src/main/java/one/nem/lacerta/utils/impl/DeviceInfoUtilsImpl.java index ec56e334..7859ae68 100644 --- a/utils/src/main/java/one/nem/lacerta/utils/impl/DeviceInfoUtilsImpl.java +++ b/utils/src/main/java/one/nem/lacerta/utils/impl/DeviceInfoUtilsImpl.java @@ -1,10 +1,18 @@ package one.nem.lacerta.utils.impl; +import android.content.Context; + import java.nio.file.Path; +import dagger.hilt.android.qualifiers.ApplicationContext; import one.nem.lacerta.utils.repository.DeviceInfoUtils; public class DeviceInfoUtilsImpl implements DeviceInfoUtils { + private final Context applicationContext; + + public DeviceInfoUtilsImpl(@ApplicationContext Context applicationContext) { + this.applicationContext = applicationContext; + } @Override public Path getExternalStorageDirectory() {