Patrick Rohr b4e7f6f7d4 Fix JobStoreTest after adding defensive copy to NetworkRequest.Builder
JobStatus.createFromJobInfo() uses the
NetworkRequest.Builder(NetworkRequest) API, which previously failed to
create a copy of the passed NetworkRequest. This means, that up until
now, SOME_UID was not only set on the second job status, but also on the
first, as the NetworkRequest used came from first.getRequiredNetwork().

Since JobStatus changes the JobInfo object, the second JobInfo object
should be compared a a JobInfo object that has also been changed by
JobStatus in the same way.

Test: atest JobStoreTest
Bug: 233580437
Change-Id: Ic4584575e2bc092c49b7b9ecb9b115da189bdfed
2022-05-23 12:38:38 -07:00
2022-04-14 21:57:52 +00:00
…
2022-03-28 09:25:17 -07:00
2021-05-13 08:24:32 +00:00
2022-04-01 16:46:46 +00:00
2022-03-31 19:37:56 -07:00
2022-05-11 21:11:57 +00:00
…
2022-03-10 18:07:50 +00:00
2022-01-05 13:13:50 +00:00
…
…
2022-03-07 08:44:25 +00:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%