Use the processName from ProcessRecord instead of ApplicationInfo

... in the AppError

The processName could be different in case the crashing component
specifies a different one other than the global process name.

Bug: 161165487
Test: atest android.jobscheduler.cts
Test: Manual - induce a crash in a receiver w/ different proc name \
               verify the proc name is showing up in dumpsys
Change-Id: Ied1658091edbd16d75a61e15e3501a92b222ab42
5 files changed