diff options
author | Yi Jin <jinyithu@google.com> | 2017-08-11 15:00:49 -0700 |
---|---|---|
committer | Yi Jin <jinyithu@google.com> | 2017-08-11 17:28:12 -0700 |
commit | f32af48069f590a998f7dde188ea5afd3ffe2d96 (patch) | |
tree | 04153a73d51d50142072fb275b45e5f935797f52 /services/java/com/android/server/SystemServer.java | |
parent | ef2d2c60603c12884fb580beab226c6bc4dc9272 (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.java | 2 |
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); |