From 262ff68833ac34982e64d174c997f0d194eb7e10 Mon Sep 17 00:00:00 2001 From: mjh <61671361+mjh316@users.noreply.github.com> Date: Wed, 19 Oct 2022 01:39:56 -0700 Subject: [PATCH] Fixed typo in headless-js-android.md (#3377) --- docs/headless-js-android.md | 6 +++--- website/versioned_docs/version-0.70/headless-js-android.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/headless-js-android.md b/docs/headless-js-android.md index 61bf1181e3b..10c712c4a55 100644 --- a/docs/headless-js-android.md +++ b/docs/headless-js-android.md @@ -56,7 +56,7 @@ public class MyTaskService extends HeadlessJsTaskService { "SomeTaskName", Arguments.fromBundle(extras), 5000, // timeout for the task - false // optional: defines whether or not the task is allowed in foreground. Default is false + false // optional: defines whether or not the task is allowed in foreground. Default is false ); } return null; @@ -79,10 +79,10 @@ class MyTaskService : HeadlessJsTaskService() { override fun getTaskConfig(intent: Intent): HeadlessJsTaskConfig? { return intent.extras?.let { HeadlessJsTaskConfig( - "SomeT askName", + "SomeTaskName", Arguments.fromBundle(it), 5000, // timeout for the task - false // optional: defines whether or not the task is allowed in foreground. + false // optional: defines whether or not the task is allowed in foreground. // Default is false ) } diff --git a/website/versioned_docs/version-0.70/headless-js-android.md b/website/versioned_docs/version-0.70/headless-js-android.md index 61bf1181e3b..10c712c4a55 100644 --- a/website/versioned_docs/version-0.70/headless-js-android.md +++ b/website/versioned_docs/version-0.70/headless-js-android.md @@ -56,7 +56,7 @@ public class MyTaskService extends HeadlessJsTaskService { "SomeTaskName", Arguments.fromBundle(extras), 5000, // timeout for the task - false // optional: defines whether or not the task is allowed in foreground. Default is false + false // optional: defines whether or not the task is allowed in foreground. Default is false ); } return null; @@ -79,10 +79,10 @@ class MyTaskService : HeadlessJsTaskService() { override fun getTaskConfig(intent: Intent): HeadlessJsTaskConfig? { return intent.extras?.let { HeadlessJsTaskConfig( - "SomeT askName", + "SomeTaskName", Arguments.fromBundle(it), 5000, // timeout for the task - false // optional: defines whether or not the task is allowed in foreground. + false // optional: defines whether or not the task is allowed in foreground. // Default is false ) }