diff options
author | Jeremy Joslin <jjoslin@google.com> | 2017-01-17 15:48:13 -0800 |
---|---|---|
committer | Jeremy Joslin <jjoslin@google.com> | 2017-01-17 17:29:39 -0800 |
commit | 3452b698ac717d4a88f5772363c547d77bc18b35 (patch) | |
tree | df63968205dd00260d932dbb9e69bfe1efd831b7 /tools/aapt2/diff/Diff.cpp | |
parent | 8bd15d1df27f5bd6790955af0db47a78d3ca93ba (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: I1662ac27f7442a16d2ffd7257469f1983b7f0e5c
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions