diff options
author | Lifu Tang <lifu@google.com> | 2017-11-13 15:51:54 -0800 |
---|---|---|
committer | Lifu Tang <lifu@google.com> | 2017-11-14 15:18:17 -0800 |
commit | 66f761c526eff2cb6115379f9b2439fe2b48d4a2 (patch) | |
tree | 02abf31b494972c2a45c822c44d5bda8b55b9423 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2dd2cbcb12a21adccd3c349590a01e7ed009f679 (diff) |
Use callback to run binder service to avoid race
The binder interface should always be managed by ServiceWatcher, and
shouldn't be exposed to the caller. Otherwise the caller could cache an
unbound service, and could cause system crash.
Bug: 69008332
Test: build and manual test
Change-Id: I70d1fe0bace7b0fb1c3844c2c9113b1fcf95f784
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions