DO NOT MERGE: Revised test to accurately check for errors

Rather than checking logs to see if installing the app caused a
segmentation fault, check to see if system_server restarted and check
the return string of the instillation

Bug: 116873865
Bug: 116879598
Test: cts-tradefed run cts -m CtsAppSecurityHostTestCases \
  -t android.appsecurity.cts.CorruptApkTests

Change-Id: Iaca09868cb9ea05efa46c20e1622c865b5cad021
1 file changed