mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-03 07:42:27 +00:00
Replace some "write" permissions with with "read" ones.
Notes for backup related classes.
This commit is contained in:
@@ -110,7 +110,7 @@ public class AttachmentTypeSelector extends PopupWindow {
|
||||
public void show(@NonNull Activity activity, final @NonNull View anchor) {
|
||||
updateHeight();
|
||||
|
||||
if (Permissions.hasAll(activity, Manifest.permission.WRITE_EXTERNAL_STORAGE)) {
|
||||
if (Permissions.hasAll(activity, Manifest.permission.READ_EXTERNAL_STORAGE)) {
|
||||
recentRail.setVisibility(View.VISIBLE);
|
||||
loaderManager.restartLoader(1, null, recentRail);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user