summaryrefslogtreecommitdiff
path: root/library/main/src/com/android
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2015-11-11 17:17:11 -0800
committerMaurice Lam <yukl@google.com>2015-11-13 19:16:11 +0000
commit229aa7c82e77ee36543df0ce6035a61ab2418152 (patch)
tree63102c0e3f34cab0a27fb60781455ae017b23014 /library/main/src/com/android
parentc3a4e07feacd7e9cff6d0fc6ddbe86c90d6f7087 (diff)
downloadsetupwizard-229aa7c82e77ee36543df0ce6035a61ab2418152.tar.gz
[SuwLib] Remove sendActionResults
Remove sendActionResults since it cannot be used properly with startActivityForResult, which is the recommended way to start the NEXT action. Change-Id: Iae00af85b8725119accf343ad1556818e97d4bb3
Diffstat (limited to 'library/main/src/com/android')
-rw-r--r--library/main/src/com/android/setupwizardlib/util/WizardManagerHelper.java29
1 files changed, 0 insertions, 29 deletions
diff --git a/library/main/src/com/android/setupwizardlib/util/WizardManagerHelper.java b/library/main/src/com/android/setupwizardlib/util/WizardManagerHelper.java
index 183015f..c523e3a 100644
--- a/library/main/src/com/android/setupwizardlib/util/WizardManagerHelper.java
+++ b/library/main/src/com/android/setupwizardlib/util/WizardManagerHelper.java
@@ -54,35 +54,6 @@ public class WizardManagerHelper {
public static final String THEME_MATERIAL_BLUE_LIGHT = "material_blue_light";
/**
- * Send the results of a scripted action back to WizardManager. In response, WizardManager will
- * invoke the next scripted action.
- *
- * @param context The context of the intent.
- * @param originalIntent The original intent that was used to start the step, usually via
- * {@link android.app.Activity#getIntent()}.
- * @param resultCode The result code of the step. See {@link ResultCodes}.
- */
- public static void sendActionResults(Context context, Intent originalIntent, int resultCode) {
- sendActionResults(context, originalIntent, resultCode, null);
- }
-
- /**
- * Send the results of a scripted action back to WizardManager. In response, WizardManager will
- * invoke the next scripted action.
- *
- * @param context The context of the intent.
- * @param originalIntent The original intent that was used to start the step, usually via
- * {@link android.app.Activity#getIntent()}.
- * @param resultCode The result code of the step. See {@link ResultCodes}.
- * @param resultData An intent containing extra result data.
- */
- public static void sendActionResults(Context context, Intent originalIntent, int resultCode,
- Intent resultData) {
- Intent nextIntent = getNextIntent(originalIntent, resultCode, resultData);
- context.startActivity(nextIntent);
- }
-
- /**
* Get an intent that will invoke the next step of setup wizard.
*
* @param originalIntent The original intent that was used to start the step, usually via