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

Commit 58d9d227 authored by Olivier Nshimiye's avatar Olivier Nshimiye Committed by Android (Google) Code Review
Browse files

Merge "Always resolve private space sms/mms intents in the main user" into main

parents f7e9cc18 724ae22e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -734,11 +734,11 @@ public class DefaultCrossProfileIntentFiltersUtils {
                    .addCategory(Intent.CATEGORY_BROWSABLE)
                    .build();

    /** SMS and MMS can be handled by the private profile or by the parent user. */
    /** SMS and MMS are always handled in the main user. */
    private static final DefaultCrossProfileIntentFilter SMS_MMS_PRIVATE_PROFILE =
            new DefaultCrossProfileIntentFilter.Builder(
                    DefaultCrossProfileIntentFilter.Direction.TO_PARENT,
                    ONLY_IF_NO_MATCH_FOUND,
                    SKIP_CURRENT_PROFILE,
                    /* letsPersonalDataIntoProfile= */ false)
                    .addAction(Intent.ACTION_VIEW)
                    .addAction(Intent.ACTION_SENDTO)