mirror of
https://github.com/zxing/zxing.git
synced 2025-01-13 04:07:27 -08:00
Issue 819 don't copy to clipboard if not saving history, when activated by Intent
git-svn-id: https://zxing.googlecode.com/svn/trunk@1752 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
2e4e0d0c77
commit
07d165054b
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue