Dianne Hackborn c75587ed5b Work on issue #36427964: SecurityException: Unable to find app...
...for caller android.app.IApplicationThread

Verify, if we don't find the caller on the LRU process list, that
it isn't actually on the main list.  (And if it is on the main list,
we can now recover from that.)  Also fix the error message when this
fails for startService() to print the correct calling pid.

Test: booted and ran

Change-Id: I0a81c679bb7e6eb15b854ed4b457d01b386d5dba
2017-04-11 15:39:16 -07:00
..