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
Loading
Please register or sign in to comment