parent
71780b4b70
commit
a42d1223be
|
|
@ -94,6 +94,11 @@ public class ServiceManager {
|
||||||
|
|
||||||
DdmHandleAppName.setAppName("lspd", 0);
|
DdmHandleAppName.setAppName("lspd", 0);
|
||||||
|
|
||||||
|
// get config before package service is started
|
||||||
|
// otherwise getInstance will trigger module/scope cache
|
||||||
|
var configManager = ConfigManager.getInstance();
|
||||||
|
// --- DO NOT call ConfigManager.getInstance later!!! ---
|
||||||
|
|
||||||
waitSystemService("package");
|
waitSystemService("package");
|
||||||
waitSystemService("activity");
|
waitSystemService("activity");
|
||||||
waitSystemService(Context.USER_SERVICE);
|
waitSystemService(Context.USER_SERVICE);
|
||||||
|
|
@ -122,7 +127,7 @@ public class ServiceManager {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Force logging on boot, now let's see if we need to stop logging
|
// Force logging on boot, now let's see if we need to stop logging
|
||||||
if (!ConfigManager.getInstance().verboseLog()) {
|
if (!configManager.verboseLog()) {
|
||||||
logcatService.stopVerbose();
|
logcatService.stopVerbose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue