Extract tombstone tracking to a separate service.
In preparation for making tombstones available to apps, extract the tombstone tracking code from BootReceiver to its own service. Bug: http://b/159164105 Test: manual Change-Id: I789f41f12a8be312b6e966226646c4ec4becc1aa
This commit is contained in:
@@ -139,6 +139,7 @@ import com.android.server.oemlock.OemLockService;
|
||||
import com.android.server.om.OverlayManagerService;
|
||||
import com.android.server.os.BugreportManagerService;
|
||||
import com.android.server.os.DeviceIdentifiersPolicyService;
|
||||
import com.android.server.os.NativeTombstoneManagerService;
|
||||
import com.android.server.os.SchedulingPolicyService;
|
||||
import com.android.server.people.PeopleService;
|
||||
import com.android.server.pm.BackgroundDexOptService;
|
||||
@@ -1072,6 +1073,11 @@ public final class SystemServer {
|
||||
mSystemServiceManager.startService(ROLLBACK_MANAGER_SERVICE_CLASS);
|
||||
t.traceEnd();
|
||||
|
||||
// Tracks native tombstones.
|
||||
t.traceBegin("StartNativeTombstoneManagerService");
|
||||
mSystemServiceManager.startService(NativeTombstoneManagerService.class);
|
||||
t.traceEnd();
|
||||
|
||||
// Service to capture bugreports.
|
||||
t.traceBegin("StartBugreportManagerService");
|
||||
mSystemServiceManager.startService(BugreportManagerService.class);
|
||||
|
||||
Reference in New Issue
Block a user