mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 13:04:05 -08:00
Ensure share clipboard sends String not SpannableText
git-svn-id: https://zxing.googlecode.com/svn/trunk@1244 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
59fbd6564e
commit
6c0ef1a5be
|
@ -97,7 +97,7 @@ public final class ShareActivity extends Activity {
|
|||
Intent intent = new Intent(Intents.Encode.ACTION);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
|
||||
intent.putExtra(Intents.Encode.TYPE, Contents.Type.TEXT);
|
||||
intent.putExtra(Intents.Encode.DATA, clipboard.getText());
|
||||
intent.putExtra(Intents.Encode.DATA, clipboard.getText().toString());
|
||||
intent.putExtra(Intents.Encode.FORMAT, Contents.Format.QR_CODE);
|
||||
startActivity(intent);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue