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

Commit 0adb1770 authored by Elis Elliott's avatar Elis Elliott
Browse files

Don't show intent picker when using camera attachment in a Managed Profile.

Fixes: 195300298

Test: Manual - Follow steps from comment #1 in the bug.
Change-Id: Ia58efda81b3cdb9b9f4d2a36cdc4af120d48e010
parent c640ee83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -246,7 +246,7 @@ public class DefaultCrossProfileIntentFiltersUtils {
    private static final DefaultCrossProfileIntentFilter MEDIA_CAPTURE =
            new DefaultCrossProfileIntentFilter.Builder(
                    DefaultCrossProfileIntentFilter.Direction.TO_PARENT,
                    /* flags= */0,
                    /* flags= */ ONLY_IF_NO_MATCH_FOUND,
                    /* letsPersonalDataIntoProfile= */ true)
                    .addAction(MediaStore.ACTION_IMAGE_CAPTURE)
                    .addAction(MediaStore.ACTION_IMAGE_CAPTURE_SECURE)