commit | 96156979022a6e1af4b29051aedd0d8e237018e8 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Thu Oct 02 12:06:50 2014 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Thu Oct 02 12:10:08 2014 -0700 |
tree | af7ae891975fd8c450e74daf0ac92dfc658bc81b | |
parent | 134b62ed14b830b467423082036b3222f84f291c [diff] |
Fix race in RecognizerService teardown. Use a WeakReference to refer to the outer class to prevent leaks. Ensure atomicity of access to the reference. Bug: 17584947 Change-Id: I7ad7c7793b60fa125e04fc4d803ed905e8a00a95