diff options
| author | 2018-03-22 15:36:42 -0700 | |
|---|---|---|
| committer | 2018-03-24 00:15:40 +0000 | |
| commit | 1e27b08c1c96926f88c782b047214e09f29d57d2 (patch) | |
| tree | 16805adc5604872d4f603f72abcc1673ab315444 /services/surfaceflinger/EventControlThread.cpp | |
| parent | 14c461a47806524f7bb51273df7d45fb8648b4b7 (diff) | |
Avoid crashing in RunDumpsysProto when not zipping
When a .zip file is not being generated, RunDumpsysProto will segfault
while trying to get the last ZipWriter::FileEntry because ds.zip_writer_
is nullptr. This change avoids running the method altogether if not
zipping.
Bug: 76120715
Test: dumpsys
Change-Id: I184dd7b72564408e313f32f3045e2fe0e4521b5b
Merged-In: I184dd7b72564408e313f32f3045e2fe0e4521b5b
Diffstat (limited to 'services/surfaceflinger/EventControlThread.cpp')
0 files changed, 0 insertions, 0 deletions