Use reqireContext(), requireActivity() instead of getters
This commit is contained in:
parent
79efffe12f
commit
abc354f516
4 changed files with 7 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue