summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTej Singh <singhtejinder@google.com>2019-05-08 13:24:22 -0700
committerTej Singh <singhtejinder@google.com>2019-05-08 13:24:22 -0700
commitee252a5dce665a1062a12aeb9066cacd0932438c (patch)
tree67c736c0d89cdc0e401e3fa2016fc182843be272 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente74b7d2365f2783e89671b0e2e57f1e712a95a87 (diff)
Fix error source of system server crashes
System server crashes have a null ProcessRecord. This meant that we would always annotate the error source as UNKNOWN for system server crashes. Now, the check for error source first checks if the process name is system server, and if so, makes the error source SYSTEM_SERVER. Otherwise, it continues to check the ProcessRecord. Test: manually mocked a system server crash and ensured it was logged properly Bug: 130438842 Change-Id: I71fc9c3ecdd3298ab878b1b14faae2567b5e640a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions