Merge "Set assistant as a role"
This commit is contained in:
committed by
Android (Google) Code Review
commit
a0f377fbe8
@@ -1561,6 +1561,12 @@ public final class SystemServer {
|
||||
traceEnd();
|
||||
}
|
||||
|
||||
// Grants default permissions and defines roles
|
||||
traceBeginAndSlog("StartRoleManagerService");
|
||||
mSystemServiceManager.startService(new RoleManagerService(
|
||||
mSystemContext, new LegacyRoleResolutionPolicy(mSystemContext)));
|
||||
traceEnd();
|
||||
|
||||
// We need to always start this service, regardless of whether the
|
||||
// FEATURE_VOICE_RECOGNIZERS feature is set, because it needs to take care
|
||||
// of initializing various settings. It will internally modify its behavior
|
||||
@@ -2011,12 +2017,6 @@ public final class SystemServer {
|
||||
}
|
||||
traceEnd();
|
||||
|
||||
// Grants default permissions and defines roles
|
||||
traceBeginAndSlog("StartRoleManagerService");
|
||||
mSystemServiceManager.startService(new RoleManagerService(
|
||||
mSystemContext, new LegacyRoleResolutionPolicy(mSystemContext)));
|
||||
traceEnd();
|
||||
|
||||
// No dependency on Webview preparation in system server. But this should
|
||||
// be completed before allowing 3rd party
|
||||
final String WEBVIEW_PREPARATION = "WebViewFactoryPreparation";
|
||||
|
||||
Reference in New Issue
Block a user