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

Commit 724ae22e authored by Olivier Nshimiye's avatar Olivier Nshimiye
Browse files

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

Bug: 328742394
Test: Manual - verified on the device
Change-Id: I211ee94afa3f188c94a647e9dc8024ef03cb6460
parent b5489f4b
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)