Import updated Android SetupCompat Library 470898494 am: 2bc2bf601f
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/setupcompat/+/19852398
Change-Id: I60f66b8f4b93a8b7e4493f9dd3af647c6bff4b24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/main/java/com/google/android/setupcompat/util/WizardManagerHelper.java b/main/java/com/google/android/setupcompat/util/WizardManagerHelper.java
index 90de25e..f28cd6d 100644
--- a/main/java/com/google/android/setupcompat/util/WizardManagerHelper.java
+++ b/main/java/com/google/android/setupcompat/util/WizardManagerHelper.java
@@ -186,7 +186,8 @@
}
/**
- * Checks whether an intent is running in the portal setup wizard flow.
+ * Checks whether an intent is running in the portal setup wizard flow. This API is supported
+ * since S.
*
* @param originalIntent The original intent that was used to start the step, usually via {@link
* Activity#getIntent()}.
@@ -230,8 +231,11 @@
}
/**
- * Returns true if the intent passed in indicates that it is running in any setup wizard flow,
- * including initial setup and deferred setup etc.
+ * Since Q, returns true if the intent passed in indicates that it is running in setup wizard
+ * flows, including initial, predeferred, deferred. Since S, it also supports portal setup.
+ *
+ * <p>Pre-Q, it is running in three setup wizard flows, including initial, predeferred, deferred
+ * setup.
*
* @param originalIntent The original intent that was used to start the step, usually via {@link
* Activity#getIntent()}.