summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChiachang Wang <chiachangwang@google.com>2021-03-22 20:06:27 +0800
committerChiachang Wang <chiachangwang@google.com>2021-03-23 14:51:04 +0800
commit686d8289896ab312776436e4b7e0e05c89e10993 (patch)
treecd58dcf4bf09c82e8de9bfb293696be1dc4dd743 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta2bc287e46dd532838bd4f77c79dc0daee0df59c (diff)
Remove the hidden NetworkRequest usage
Constructor of JobStatus may update the network request in the JobInfo parameter. NetworkRequest is moving into the incoming connectivity module. The hidden methods and members usage will not allowed anymore, so it requires to rebuild the network request for any update in the network request. Expose a new Builder constructor as a helper method to construct from an existing JobInfo instance which will helpful for such cases that need to clone the JobInfo and update only specific items. Also, JobStatus which is inside the platform could not refer to the hidden members or methods of classes in the connectivity mainline module. Callers who want to construct a network request should use the formal NetworkRequest.Builder. Update the usage accordingly to resolve the hidden usage. Bug: 172183305 Test: atest JobInfoTest Test: atest com.android.server.job.controllers.JobStatusTest Change-Id: Ifb74d44e29e13f0e3b995be638c5bfe435a09106 Merged-In: Ifb74d44e29e13f0e3b995be638c5bfe435a09106
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions