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: 135214188
Test: atest com.android.server.job.controllers.ConnectivityControllerTest
Test: atest com.android.providers.downloads.DownloadProviderFunctionalTest
Change-Id: I5506079ee06e75f7394814fc967df21a4a86341d
1 file changed