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

Commit 17ad06b7 authored by Olivier Nshimiye's avatar Olivier Nshimiye
Browse files

Allow the PRIVATE profile to inherit device policies its parent user

Bug: 293571347
Test: Manual - Checked that policies are getting inherited

Change-Id: I678f01ad8d9e8ecd58bfb84551083e8a907b9c08
parent 811891a8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -295,7 +295,8 @@ public final class UserTypeFactory {
                        .setMediaSharedWithParent(false)
                        .setShowInLauncher(UserProperties.SHOW_IN_LAUNCHER_SEPARATE)
                        .setCrossProfileIntentFilterAccessControl(
                                UserProperties.CROSS_PROFILE_INTENT_FILTER_ACCESS_LEVEL_SYSTEM));
                                UserProperties.CROSS_PROFILE_INTENT_FILTER_ACCESS_LEVEL_SYSTEM)
                        .setInheritDevicePolicy(UserProperties.INHERIT_DEVICE_POLICY_FROM_PARENT));
    }

    /**