mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-04-23 07:11:23 +00:00
Use reqireContext(), requireActivity() instead of getters
This commit is contained in:
@@ -275,7 +275,7 @@ public class StoredFileHelper implements Serializable {
|
||||
if (!docTree.canRead() || !docTree.canWrite()) return false;
|
||||
try {
|
||||
docFile = createSAF(context, srcType, srcName);
|
||||
if (docFile == null || docFile.getName() == null) return false;
|
||||
if (docFile.getName() == null) return false;
|
||||
result = true;
|
||||
} catch (IOException e) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user