docs: Removed suggestion to use deprecated API

IntentService is deprecated, and had suggested devs use WorkManager or JobIntentService instead, but IntentService is now deprecated too. Per communication with WorkManager owner, just deleted the reference to JobIntentService.

Per Bart, it's okay to submit docs-only changes to tm-dev so they go live before the U preview.

Change-Id: I57aacc8f55f93edf0a1d76bf6fa3fc73974a50af
Test: [go/abtd docs build]
Bug: 256197684
This commit is contained in:
Andrew Solovay
2022-10-31 19:43:20 +00:00
parent 35d6d4fa31
commit 3fa450061e

View File

@@ -57,8 +57,7 @@ import android.os.Message;
* @deprecated IntentService is subject to all the
* <a href="{@docRoot}about/versions/oreo/background.html">background execution limits</a>
* imposed with Android 8.0 (API level 26). Consider using {@link androidx.work.WorkManager}
* or {@link androidx.core.app.JobIntentService}, which uses jobs
* instead of services when running on Android 8.0 or higher.
* instead.
*/
@Deprecated
public abstract class IntentService extends Service {