diff options
author | Jeremy Joslin <jjoslin@google.com> | 2017-01-17 15:48:13 -0800 |
---|---|---|
committer | Jeremy Joslin <jjoslin@google.com> | 2017-01-19 13:25:50 -0800 |
commit | 8b9226b487b1f38de840f22f830b62dc05df457d (patch) | |
tree | b793ddb0058b44763e8cf954baad4ca2e4bfb210 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 44e2b84b27dea139796299528e5cdd3abc4640f7 (diff) |
Replace the RequestRecommendationCaller if the timeout changes.
The timeout associated with a TimedRemoteCaller can't be changed
after creation so we have to create a new instance anytime the
timeout changes (which shouldn't be too often). The instance is
stored and retrieved from an AtomicReference to avoid concurrency
issues.
Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 34060959
Change-Id: I52f5d617feb9b3536ff3474b5d032113e3caea5c
Merged-In: I1662ac27f7442a16d2ffd7257469f1983b7f0e5c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions