From 9b7afd94fe215cb00b6a9ce035b2c323e3c7c96f Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Fri, 16 Oct 2015 10:58:38 -0700 Subject: [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 --- .../com/android/setupwizardlib/util/WizardManagerHelper.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'library/main/src/com/android/setupwizardlib') 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)); -- cgit v1.2.3