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:
srowen 2010-03-15 09:41:03 +00:00
parent 59fbd6564e
commit 6c0ef1a5be

View file

@ -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);
}