OSDN Git Service

Don't allow GATT and GAP service override
authorJakub Pawlowski <jpawlowski@google.com>
Mon, 16 Jan 2017 12:53:14 +0000 (04:53 -0800)
committerAndre Eisenbach <eisenbach@google.com>
Tue, 17 Jan 2017 18:32:21 +0000 (18:32 +0000)
commit8a06ff5ce2d73c06411c22f97056f3ae8f0b9b04
tree027ceb2e35cd5fedf8c05d3f7c6ace53a85127bb
parent8957fdca4f6a1ba963b81983e8a40a82c3b1122d
Don't allow GATT and GAP service override

Those services are automatically added by the stack, and overriding them
results in invalid GATT database being created.

Bug: 34280184
Test: Manual test
Change-Id: Ie6a09e9d606e40066bef6f6a2c934eacd17bf53b
btif/src/btif_gatt_server.cc