diff options
-rw-r--r-- | app/lint-baseline.xml | 11 | ||||
-rw-r--r-- | app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt | 5 |
2 files changed, 2 insertions, 14 deletions
diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index 36bccbca..c2f393ad 100644 --- a/app/lint-baseline.xml +++ b/app/lint-baseline.xml @@ -13,17 +13,6 @@ </issue> <issue - id="FullyQualifiedResource" - message="Use an import alias instead" - errorLine1=" app.passwordstore.passgen.diceware.R.raw.diceware_wordlist" - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> - <location - file="src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt" - line="50" - column="7"/> - </issue> - - <issue id="InvalidPackage" message="Invalid package reference in org.bouncycastle:bcpkix-jdk15to18; not included in Android: `javax.naming.directory`. Referenced from `org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory`."> <location diff --git a/app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt b/app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt index 78bad768..d8057356 100644 --- a/app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt +++ b/app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt @@ -8,6 +8,7 @@ package app.passwordstore.injection.pwgen import android.content.Context import app.passwordstore.passgen.diceware.DicewarePassphraseGenerator import app.passwordstore.passgen.diceware.Die +import app.passwordstore.passgen.diceware.R as dicewareR import app.passwordstore.passgen.diceware.RandomIntGenerator import dagger.Module import dagger.Provides @@ -46,9 +47,7 @@ object DicewareModule { @[Provides WordlistQualifier] fun provideDefaultWordList(@ApplicationContext context: Context): InputStream { - return context.resources.openRawResource( - app.passwordstore.passgen.diceware.R.raw.diceware_wordlist - ) + return context.resources.openRawResource(dicewareR.raw.diceware_wordlist) } } |