We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1980cfd commit cbe4d38Copy full SHA for cbe4d38
1 file changed
AnkiDroid/src/main/java/com/ichi2/anki/startup/SetupStorage.kt
@@ -156,7 +156,7 @@ private fun legacyAnkiDroidDirectory(directoryName: String = "AnkiDroid"): File
156
*
157
* @throws SystemStorageException if `getExternalFilesDir` returns null
158
*/
159
-private fun getAppSpecificExternalAnkiDroidDirectory(context: Context): String? {
+private fun getAppSpecificExternalAnkiDroidDirectory(context: Context): String {
160
val externalFilesDir = context.getExternalFilesDir(null)
161
162
// This value *may* be null but we strictly require it. This has caused NullPointerException
0 commit comments