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 authored and Ryan Willoughby committed May 30, 2013
1 parent 3bc65eb commit 5c46e8d
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 5c46e8d

Please sign in to comment.