Check if BT is allowed in airplane mode

Currenty, the bluetooth sharing activity always quits with an error
message if airplane mode is on. Instead, the activity should check
if bluetooth may be enabled in airplane mode, given the current
system settings.

Change-Id: If9272a941504054d7819e0248f93a8b5bca8d41e
Import revised translations.

Change-Id: Ib40d6f9835ef2025200b300f4e46a85a33598960
Import revised translations.  DO NOT MERGE

Change-Id: I72dda3fe3c968e8af4348c99a630f4b312d7bf0b
am 74a63860: Import revised translations.  DO NOT MERGE

* commit '74a6386000e2ee82ef7f533b4d56a5f68972cbe5':
  Import revised translations.  DO NOT MERGE
am f3288cc1: (-s ours) am 74a63860: Import revised translations.  DO NOT MERGE

* commit 'f3288cc14c4f3bc50ad2b0d137a7ca375f631b5c':
  Import revised translations.  DO NOT MERGE
Import revised translations.

Change-Id: I221a4829a2e4de58110acd4657b6333b3e31eab4
Merge "Import revised translations."
Retry rfcomm socket connections after link key exchange error.

If the devices were paired before, but unpaired on the
remote end, it will return an error (when sending a file)for the auth
request for the socket connection. Link keys will get exchanged
but we need to retry the socket connection. There is no good way to
inform this socket asking it to retry apart from
a delayed retry. The socket is opened at the kernel level
but the link key retrys happen at the Bluez userspace level.

Note: This is a temporary change, once the new mgmt interface comes
up in Bluez, we wouldn't need this.

Change-Id: Ifbd93d7f69b93515dda6c6f4ad2796853f9d5841
Merge "Fix 'New Missed Calls' count in PullvCardListing"
Merge "Handle pullVcardListing req without search value for Number attr."
Merge "Check if BT is allowed in airplane mode"
am 89a69665: Merge "Fix \'New Missed Calls\' count in PullvCardListing"

* commit '89a696651197f313786842ec0e2656ea6211bfdc':
  Fix 'New Missed Calls' count in PullvCardListing
am 72d2f1d8: Merge "Handle pullVcardListing req without search value for Number attr."

* commit '72d2f1d8b81087c0a00310ff43e5d060dc8b7867':
  Handle pullVcardListing req without search value for Number attr.
am c5813a6d: Merge "Check if BT is allowed in airplane mode"

* commit 'c5813a6dcf079202d8dce16a37cbadd427804d9c':
  Check if BT is allowed in airplane mode
Add check for null pointer to avoid crash.

This is added in order to prevent a crash. Also, updating the name
of a device to null, making it appear as 'Unknown', is probably not
intended.

Change-Id: Ibd3c93741489aae9118ba7b45223d58d5de6812f
am d66fc8a9: am 89a69665: Merge "Fix \'New Missed Calls\' count in PullvCardListing"

* commit 'd66fc8a97924a5af8212d1b398011d2076d6c2cd':
  Fix 'New Missed Calls' count in PullvCardListing
am 69eca7b7: am 72d2f1d8: Merge "Handle pullVcardListing req without search value for Number attr."

* commit '69eca7b7e77cb55f92b3eafd09f15be5644c3a4f':
  Handle pullVcardListing req without search value for Number attr.
am 78c1c0ee: am c5813a6d: Merge "Check if BT is allowed in airplane mode"

* commit '78c1c0eee41a1b6c6a259661d62d62d78841ad1f':
  Check if BT is allowed in airplane mode
am 5d08ec3f: am d66fc8a9: am 89a69665: Merge "Fix \'New Missed Calls\' count in PullvCardListing"

* commit '5d08ec3f563803231ae5e775acd044e91b217047':
  Fix 'New Missed Calls' count in PullvCardListing
am 2abac73f: am 69eca7b7: am 72d2f1d8: Merge "Handle pullVcardListing req without search value for Number attr."

* commit '2abac73f9babf24702f94a0428b8d7f9201c4757':
  Handle pullVcardListing req without search value for Number attr.