OSDN Git Service

Allow senderAddressing on default filter for message Listing
authorAjay Panicker <apanicke@google.com>
Thu, 10 Sep 2015 23:31:04 +0000 (16:31 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 11 Sep 2015 04:54:54 +0000 (04:54 +0000)
Adjusted the PARAMETER_MASK_DEFAULT constant for when a
message listing request is recieved and a message filter isnt
provided. This new filter value causes the sender_address field
to be sent along with all the other default information.

Bug: 22163529
Change-Id: I49444cfb341d2e6cc72bdab55aa441d712b03f14

src/com/android/bluetooth/map/BluetoothMapContent.java

index 28f5d42..7ced91b 100644 (file)
@@ -117,7 +117,7 @@ public class BluetoothMapContent {
     // MAP specification states that the default value for parameter mask are
     // the #REQUIRED attributes in the DTD, and not all enabled
     public static final long PARAMETER_MASK_ALL_ENABLED = 0xFFFFFFFFL;
-    public static final long PARAMETER_MASK_DEFAULT = 0x5E3L;
+    public static final long PARAMETER_MASK_DEFAULT = 0x5EBL;
     public static final long CONVO_PARAMETER_MASK_ALL_ENABLED = 0xFFFFFFFFL;
     public static final long CONVO_PARAMETER_MASK_DEFAULT =
             CONVO_PARAM_MASK_CONVO_NAME |