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

Commit 0ea4d554 authored by Rubin Xu's avatar Rubin Xu
Browse files

Guest user should not be able to install keys

Bug: 123343103
Test: Create secondary user, attempt to install keys to KeyChain
Change-Id: I9c467e2e29ced37e13a869a6fa067471c8ea4f05
parent 938f1c11
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -208,6 +208,7 @@ public final class UserTypeFactory {
        final Bundle restrictions = getDefaultSecondaryUserRestrictions();
        restrictions.putBoolean(UserManager.DISALLOW_CONFIG_WIFI, true);
        restrictions.putBoolean(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true);
        restrictions.putBoolean(UserManager.DISALLOW_CONFIG_CREDENTIALS, true);
        return restrictions;
    }