commit | 6a94aba734b0dffedeb1744bdbe59341760b56b6 | [log] [tgz] |
---|---|---|
author | riddle_hsu <riddle_hsu@htc.com> | Fri May 01 01:52:58 2015 +0800 |
committer | riddle_hsu <riddle_hsu@htc.com> | Fri May 01 01:52:58 2015 +0800 |
tree | b077eba11d37fa847cf5659aa28bb4919d179d1e | |
parent | ad61b8336aa9627a6ae19580bbdc370dc8bd6810 [diff] |
Fix NPE in JobServiceContext when closing job. Disconnect may come after job is canceled. Add a finished state to avoid cleanup finished job again. Real case: http://code.google.com/p/android/issues/detail?id=170814 Change-Id: I9c7a1b944a8393e30396f473ebeb8332e51f21f1