Utility: allow cross profile linking
This commit is contained in:
parent
51cb8fbcff
commit
e9e6ce2a9c
|
@ -94,6 +94,10 @@ public class Utility {
|
|||
manager.clearUserRestriction(adminComponent, UserManager.DISALLOW_INSTALL_APPS);
|
||||
manager.clearUserRestriction(adminComponent, UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES);
|
||||
manager.clearUserRestriction(adminComponent, UserManager.DISALLOW_UNINSTALL_APPS);
|
||||
|
||||
// TODO: This should be configured by the user, instead of being enforced each time Shelter starts
|
||||
// TODO: But we should also have some default restrictions that are set the first time Shelter starts
|
||||
manager.addUserRestriction(adminComponent, UserManager.ALLOW_PARENT_PROFILE_APP_LINKING);
|
||||
}
|
||||
|
||||
// From <https://stackoverflow.com/questions/3035692/how-to-convert-a-drawable-to-a-bitmap>
|
||||
|
|
Loading…
Reference in a new issue