diff options
author | riddle_hsu <riddle_hsu@htc.com> | 2015-02-04 20:52:03 +0800 |
---|---|---|
committer | Riddle Hsu <riddle_hsu@htc.com> | 2015-04-10 15:41:19 +0000 |
commit | b15506f95e7b00d9a5b89a0c732689fcad2a12ff (patch) | |
tree | d4342994b80720dd48616d0230ae20029a5a619c /rs/java/android/renderscript/Script.java | |
parent | 53e8d6f934be403b9c7733c190b6052d60dd0658 (diff) |
Check caller status precisely when registering receiver.
Fine tune commit 9ac9609f.
Because process may reuse same process record to restart.
It is better to check below conditions to skip:
1. Simple dead and has been cleaned.
=> .thread will be null
2.The process has restarted with new pid but has not attached yet.
=> .thread will be null
3.The process has restarted and attached.
=> The IBinder will be different
Change-Id: Ic052f5025558ca93e1a6ab11bca61fe995126bb9
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions