OSDN Git Service

PBAP: Fixes for proper working of filter functionality.
authorHemant Gupta <hemantg@codeaurora.org>
Wed, 24 Jun 2015 14:55:27 +0000 (20:25 +0530)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 22 Jul 2015 21:35:56 +0000 (14:35 -0700)
commit976a53f0f946e589aa2b5204ce3262abcf2afc55
treeb4e5c3c77796fa865c76dc79d25f8c14f16405a5
parent51b7ab3d2d9a166e1fac22ff442ad3221a838c91
PBAP: Fixes for proper working of filter functionality.

The change consists of fixes required for the filter to work properly.

Without this change the API isFilteredOut() was basically removing those
attributes which are set in the filter while the expected behaviour is other
way round, so renamed the API to isFilteredIn().
This patch also adds provision for filtering call log date and time when
it is not been asked as per the filter since it is not a mandatory attribute
as per the PBAP specification.
This patch also renames "NOTES" to "NOTE" which was incorrect property for
vcards.

Bug: 20077258
Change-Id: Ifbe57706b86031cbb9656556843da1bab700ef5d
src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java