Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eeee9a47 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Sharesheet - Profile switching & permissions"

parents 9d3862e4 73a873f2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -680,7 +680,7 @@ public class ChooserActivity extends ResolverActivity {
                            & DocumentsContract.Document.FLAG_SUPPORTS_THUMBNAIL) != 0;
                }
            }
        } catch (SecurityException e) {
        } catch (SecurityException | NullPointerException e) {
            Log.w(TAG, "Error loading file preview", e);
        }

@@ -918,6 +918,8 @@ public class ChooserActivity extends ResolverActivity {
        if (isSendAction(in)) {
            in.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT |
                    Intent.FLAG_ACTIVITY_MULTIPLE_TASK);

            in.fixUris(getUserId());
        }
    }