Loading
fix foreground process will be mistakenly killed when it uses content provider.
process hosting ContentProvider is normally to be killed by AMS when empty processes over limit. foregroup processs send ContentProvider request to the process before system server received binderDied(), then set up a connection with the killByAm process. at this time, system server execute binderDied(), then will kill foregroup process, depends on provider. in getContentProviderImpl(), need add condition whether process is killedByAm. https://code.google.com/p/android/issues/detail?id=220800 Change-Id: I227abc20cd4d2f72d3f2f4dcdce11ede7927e843 Signed-off-by:yuanhuihui <yuanhuihui@xiaomi.com>