procinfo: do null check before setting error string.

Bug: 188573814
Test: run libprocinfo_test.

Change-Id: Iac98eba492410ea636e2167e888ceda32094fc51
(cherry picked from commit 3dbe823a2a520e573ae849717230352c7aece6cc)
2 files changed
tree: 6b2000fa0bafa5a0e27b839d62c2e29c63428375
  1. include/
  2. testdata/
  3. Android.bp
  4. OWNERS
  5. process.cpp
  6. process_map_benchmark.cpp
  7. process_map_test.cpp
  8. process_test.cpp