diff options
author | Jeff Sharkey <jsharkey@android.com> | 2016-11-17 17:14:20 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2016-11-17 17:15:48 -0700 |
commit | 9ccb85d344bd9e569efee47b3450c2c6c4f8049c (patch) | |
tree | ee6ade84fab5112b5179ec54588b775bb75bc66f /tools/aapt2/diff/Diff.cpp | |
parent | 29993074b0708d71b9d752f562ed6aee2a360fa1 (diff) |
wtf() should not be fatal for core components.
Core system components (such as those marked as "persistent") are
aggressively restarted by the system, so crashing them as a side
effect of wtf() could easily cause system instability.
Instead, this change now treats persistent processes the same as the
system_server; we still log the wtf() event, but we don't crash
the app.
This change also causes wtf() events to be fatal on "eng" builds,
which will result in bugs being caught earlier during development
instead of later during QA testing.
Test: builds, boots, SystemUI no longer crashes
Bug: 32976626
Change-Id: Ib2d1a73379be40556f8dab5d1f15b9ed91ba7082
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions