diff options
| author | Martijn Coenen <maco@google.com> | 2011-04-08 16:42:22 +0200 |
|---|---|---|
| committer | Martijn Coenen <maco@google.com> | 2011-05-27 08:18:18 -0700 |
| commit | 8bede1704717f594a0f924a57ff46f6300347e30 (patch) | |
| tree | 13b2c6393c5556e28aee44b0d86a088a84c0e377 /docs/html/sdk/api_diff/8/changes | |
| parent | aa4fa2c5b704b60f025c34fec42db63ede9ebf35 (diff) | |
Fix NdefRecord flags handling.
NdefMessages created from byte arrays set the wrong flags on
NdefRecord: every record had at least FLAG_MB|FLAG_ME set, instead of actually
setting the flags from the byte-stream itself. Fixed by creating an internal
constructor which can take the flags.
Public constructor remains the same, as we don't want to bother application
writers with these flags - they can be inferred from the context in which the
record is used. Getting the flags is not a public operation on an NdefRecord
either. However, applications can get the byte[] representation and it
is reasonable for them to expect the flags byte to be set correctly.
Change-Id: Ic32411688dd092c55b1aeccbba9635792e15a671
Diffstat (limited to 'docs/html/sdk/api_diff/8/changes')
0 files changed, 0 insertions, 0 deletions
