diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-10-18 01:00:25 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-10-18 01:07:34 +0200 |
commit | 0d5ba1dd06ca27ad8a68785277a954b881c2ab7d (patch) | |
tree | 24c56df6b32bb01dc2a8cb1fa72b595cabb8a334 /src/ndef.c | |
parent | bc0817f0d3e26b4f9921c3db4123f9a0f6ba5cd0 (diff) | |
download | neard-0d5ba1dd06ca27ad8a68785277a954b881c2ab7d.tar.gz neard-0d5ba1dd06ca27ad8a68785277a954b881c2ab7d.tar.bz2 neard-0d5ba1dd06ca27ad8a68785277a954b881c2ab7d.zip |
ndef: Simplify D-Bus exported record type strings
"Android Application Record (AAR)" is not really D-Bus clients
friendly.
Diffstat (limited to 'src/ndef.c')
-rw-r--r-- | src/ndef.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -488,14 +488,14 @@ static void append_record(struct near_ndef_record *record, break; case RECORD_TYPE_MIME_TYPE: - type = "MIME Type (RFC 2046)"; + type = "MIMEType"; near_dbus_dict_append_basic(dict, "Type", DBUS_TYPE_STRING, &type); append_mime_payload(record->mime, dict); break; case RECORD_TYPE_EXT_AAR: - type = "Android Application Record (AAR)"; + type = "AAR"; near_dbus_dict_append_basic(dict, "Type", DBUS_TYPE_STRING, &type); append_aar_payload(record->aar, dict); |