mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-19 16:22:08 +08:00
androidd cloudlogs are errors
old-commit-hash: fc8d402713f1b84b3e75067f09794236852f4f20
This commit is contained in:
@@ -49,7 +49,7 @@ def main():
|
||||
if len(procs):
|
||||
for p in WATCHED_PROCS:
|
||||
if cur[p] != procs[p]:
|
||||
cloudlog.event("android service pid changed", proc=p, cur=cur[p], prev=procs[p])
|
||||
cloudlog.event("android service pid changed", proc=p, cur=cur[p], prev=procs[p], error=True)
|
||||
procs.update(cur)
|
||||
|
||||
if os.path.exists(MODEM_PATH):
|
||||
@@ -68,7 +68,7 @@ def main():
|
||||
|
||||
# handle excessive modem crashes
|
||||
if crash_count > MAX_MODEM_CRASHES and not modem_killed:
|
||||
cloudlog.event("killing modem")
|
||||
cloudlog.event("killing modem", error=True)
|
||||
with open("/sys/kernel/debug/msm_subsys/modem", "w") as f:
|
||||
f.write("put")
|
||||
modem_killed = True
|
||||
|
||||
Reference in New Issue
Block a user