diff --git a/android/src/com/google/zxing/client/android/CaptureActivity.java b/android/src/com/google/zxing/client/android/CaptureActivity.java index 90c01d257..793f8201f 100755 --- a/android/src/com/google/zxing/client/android/CaptureActivity.java +++ b/android/src/com/google/zxing/client/android/CaptureActivity.java @@ -220,7 +220,8 @@ public final class CaptureActivity extends Activity implements SurfaceHolder.Cal } SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); - copyToClipboard = prefs.getBoolean(PreferencesActivity.KEY_COPY_TO_CLIPBOARD, true); + copyToClipboard = prefs.getBoolean(PreferencesActivity.KEY_COPY_TO_CLIPBOARD, true) + && (intent == null || intent.getBooleanExtra(Intents.Scan.SAVE_HISTORY, true)); beepManager.updatePrefs();