summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/SystemServer.java
diff options
context:
space:
mode:
authorYi Jin <jinyithu@google.com>2017-08-11 15:00:49 -0700
committerYi Jin <jinyithu@google.com>2017-08-11 17:28:12 -0700
commitf32af48069f590a998f7dde188ea5afd3ffe2d96 (patch)
tree04153a73d51d50142072fb275b45e5f935797f52 /services/java/com/android/server/SystemServer.java
parentef2d2c60603c12884fb580beab226c6bc4dc9272 (diff)
Fix parsing enum types in incident report tool as well as adding
some additional loggings Test: manually flashed to device and test calling IncidentManager.java functions Change-Id: I69610414edde865b20ba632837f037fbe43f99db
Diffstat (limited to 'services/java/com/android/server/SystemServer.java')
-rw-r--r--services/java/com/android/server/SystemServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index a1b9099f8bab..c08fc335a3aa 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -1842,7 +1842,7 @@ public final class SystemServer {
// TODO: Switch from checkService to getService once it's always
// in the build and should reliably be there.
final IIncidentManager incident = IIncidentManager.Stub.asInterface(
- ServiceManager.checkService("incident"));
+ ServiceManager.getService(Context.INCIDENT_SERVICE));
if (incident != null) incident.systemRunning();
} catch (Throwable e) {
reportWtf("Notifying incident daemon running", e);