Wait for the dying app fully killed on getting content provider

If we are acquiring a content provider, but the hosting process
is dying, wait for its death notification come in, before
restart this process.

Bug: 141857656
Test: manual
Change-Id: Ib2a8014bb3f22485172d0574cfce14bc6895034b
2 files changed