Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanGIG committed May 8, 2024
1 parent 5ddbc3b commit 3783b25
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.util.Log;

import androidx.activity.result.ActivityResultLauncher;
import androidx.activity.result.contract.ActivityResultContracts;
Expand All @@ -26,7 +27,7 @@ public void onCreate(@Nullable Bundle savedInstanceState) {
var realPath = RealPathUtil.getRealPathFromURI_API19(getContext(), result);
Preference preference = findPreference("localdownload");
if (preference != null) {
preference.setSummary(getPathFromContentUri(result));
preference.setSummary(realPath);
}
mPrefs.edit().putString("localdownload", realPath).apply();
});
Expand Down

0 comments on commit 3783b25

Please sign in to comment.