Switch from deprecated/removed JobInfo method.

JobInfo.setEstimatedBytes(long) was deprecated and tagged with @removed
before Pie shipped but DownloadProvider continued to use the deprecated
method. Switching DownloadProvider over to the public method so the
deprecated method can be removed.

Bug: 130692844
Bug: 135214188
Test: atest com.android.server.job.controllers.ConnectivityControllerTest
Test: atest com.android.providers.downloads.DownloadProviderFunctionalTest
Change-Id: I5506079ee06e75f7394814fc967df21a4a86341d
(cherry picked from commit a8d67ad37081951fde57ed494730f86e595ba709)
1 file changed