profcollectd: Only start the forwarding service if enabled through device config
Test: boot profcollect build Bug: 79161490 Change-Id: I8058594fd78327bbd0983c7f39391dc82e18e2a3
This commit is contained in:
@@ -1226,7 +1226,7 @@ public final class SystemServer {
|
||||
mSystemServiceManager.startService(IorapForwardingService.class);
|
||||
t.traceEnd();
|
||||
|
||||
if (Build.IS_DEBUGGABLE) {
|
||||
if (Build.IS_DEBUGGABLE && ProfcollectForwardingService.enabled()) {
|
||||
t.traceBegin("ProfcollectForwardingService");
|
||||
mSystemServiceManager.startService(ProfcollectForwardingService.class);
|
||||
t.traceEnd();
|
||||
|
||||
Reference in New Issue
Block a user