Merge "DO NOT MERGE Fix migration for default browser." into qt-r1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
85773ee58c
@@ -225,9 +225,10 @@ public class RoleManagerService extends SystemService implements RoleUserState.C
|
|||||||
//TODO gradually add more role migrations statements here for remaining roles
|
//TODO gradually add more role migrations statements here for remaining roles
|
||||||
// Make sure to implement LegacyRoleResolutionPolicy#getRoleHolders
|
// Make sure to implement LegacyRoleResolutionPolicy#getRoleHolders
|
||||||
// for a given role before adding a migration statement for it here
|
// for a given role before adding a migration statement for it here
|
||||||
migrateRoleIfNecessary(RoleManager.ROLE_SMS, userId);
|
|
||||||
migrateRoleIfNecessary(RoleManager.ROLE_ASSISTANT, userId);
|
migrateRoleIfNecessary(RoleManager.ROLE_ASSISTANT, userId);
|
||||||
|
migrateRoleIfNecessary(RoleManager.ROLE_BROWSER, userId);
|
||||||
migrateRoleIfNecessary(RoleManager.ROLE_DIALER, userId);
|
migrateRoleIfNecessary(RoleManager.ROLE_DIALER, userId);
|
||||||
|
migrateRoleIfNecessary(RoleManager.ROLE_SMS, userId);
|
||||||
migrateRoleIfNecessary(RoleManager.ROLE_EMERGENCY, userId);
|
migrateRoleIfNecessary(RoleManager.ROLE_EMERGENCY, userId);
|
||||||
|
|
||||||
// Some vital packages state has changed since last role grant
|
// Some vital packages state has changed since last role grant
|
||||||
|
|||||||
Reference in New Issue
Block a user