summaryrefslogtreecommitdiff
path: root/library/main/src/com/android/setupwizardlib
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2015-10-16 10:58:38 -0700
committerMaurice Lam <yukl@google.com>2015-10-16 18:00:24 +0000
commit9b7afd94fe215cb00b6a9ce035b2c323e3c7c96f (patch)
tree1c8fdce0039edd5d303cec15f62ec0a778653e92 /library/main/src/com/android/setupwizardlib
parentb0e31d59b646b89d8570f4baa12494d9a2292f67 (diff)
downloadsetupwizard-9b7afd94fe215cb00b6a9ce035b2c323e3c7c96f.tar.gz
[SuwLib] Fix lint errors
The log tags were too long and lint was complaining, breaking the build on ub-setupwizard-master. Removing the logs. Also completed javadocs for sendActionResults. Change-Id: Icdacd6257f0812888172eec0e2d446437f6cd205
Diffstat (limited to 'library/main/src/com/android/setupwizardlib')
-rw-r--r--library/main/src/com/android/setupwizardlib/util/WizardManagerHelper.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/library/main/src/com/android/setupwizardlib/util/WizardManagerHelper.java b/library/main/src/com/android/setupwizardlib/util/WizardManagerHelper.java
index b3ab38f..d203ef6 100644
--- a/library/main/src/com/android/setupwizardlib/util/WizardManagerHelper.java
+++ b/library/main/src/com/android/setupwizardlib/util/WizardManagerHelper.java
@@ -25,9 +25,6 @@ import android.util.Log;
public class WizardManagerHelper {
- private static final String TAG = "SetupWizard.WizardManagerHelper";
- private static final boolean DEBUG = false;
-
private static final String ACTION_NEXT = "com.android.wizard.NEXT";
/**
@@ -81,10 +78,7 @@ public class WizardManagerHelper {
*/
public static void sendActionResults(Context context, Intent originalIntent, int resultCode,
Intent resultData) {
- if (DEBUG) Log.d(TAG, "sendActionResults originalIntent=" + originalIntent
- + " resultCode=" + resultCode + " resultData=" + resultData);
Intent nextIntent = getNextIntent(originalIntent, resultCode, resultData);
- if (DEBUG) Log.d(TAG, "sendActionResults nextIntent=" + nextIntent);
context.startActivity(nextIntent);
}
@@ -130,8 +124,8 @@ public class WizardManagerHelper {
* only, such as when using {@link Intent#FLAG_ACTIVITY_FORWARD_RESULT} to relay to another
* intent.
*
- * @param srcIntent
- * @param dstIntent
+ * @param srcIntent Intent to get the wizard manager extras from.
+ * @param dstIntent Intent to copy the wizard manager extras to.
*/
public static void copyWizardManagerExtras(Intent srcIntent, Intent dstIntent) {
dstIntent.putExtra(EXTRA_WIZARD_BUNDLE, srcIntent.getBundleExtra(EXTRA_WIZARD_BUNDLE));