Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Do not copy the scanned barcode to the clipboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Wark committed Mar 26, 2013
1 parent 3c73e21 commit 1d8ee5c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/android/LibraryProject/res/xml/preferences.xml
Expand Up @@ -40,7 +40,7 @@
android:title="@string/preferences_vibrate_title"/>
<CheckBoxPreference
android:key="preferences_copy_to_clipboard"
android:defaultValue="true"
android:defaultValue="false"
android:title="@string/preferences_copy_to_clipboard_title"/>
<CheckBoxPreference
android:key="preferences_remember_duplicates"
Expand Down
Expand Up @@ -238,7 +238,7 @@ protected void onResume() {
}

SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
copyToClipboard = prefs.getBoolean(PreferencesActivity.KEY_COPY_TO_CLIPBOARD, true)
copyToClipboard = prefs.getBoolean(PreferencesActivity.KEY_COPY_TO_CLIPBOARD, false)
&& (intent == null || intent.getBooleanExtra(Intents.Scan.SAVE_HISTORY, true));

beepManager.updatePrefs();
Expand Down
Binary file modified src/android/com.google.zxing.client.android.captureactivity.jar
Binary file not shown.

0 comments on commit 1d8ee5c

Please sign in to comment.