diff options
author | Ravi Nagarajan <nravi@broadcom.com> | 2012-08-02 04:58:21 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-08-06 23:56:45 -0700 |
commit | a8afd723a4bdd68eda34a552a472a6adc0c26369 (patch) | |
tree | 9f83275fa898476b0057790c579b29b515ab77be /init/property_service.c | |
parent | 60479afa182330b42c5be04759b0340d8fd9e7c8 (diff) | |
download | system_core-a8afd723a4bdd68eda34a552a472a6adc0c26369.zip system_core-a8afd723a4bdd68eda34a552a472a6adc0c26369.tar.gz system_core-a8afd723a4bdd68eda34a552a472a6adc0c26369.tar.bz2 |
Allow AID_BLUETOOTH to update persist.service.bdroid
When devices are provisioned, bd address path is set in ro.bt.bdaddr_path.
On devices where this property is not present, a random bd address is
generated and saved to the property: persist.service.bdroid.bdaddr
This change allows bluetooth process to update this property
bug 6885309
Change-Id: I2e8a2471a0e890da82e6bbec6a2ef67ec8e1f8f4
Diffstat (limited to 'init/property_service.c')
-rwxr-xr-x[-rw-r--r--] | init/property_service.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/property_service.c b/init/property_service.c index 4ee86c0..b092077 100644..100755 --- a/init/property_service.c +++ b/init/property_service.c @@ -87,6 +87,7 @@ struct { { "persist.sys.", AID_SYSTEM, 0 }, { "persist.service.", AID_SYSTEM, 0 }, { "persist.security.", AID_SYSTEM, 0 }, + { "persist.service.bdroid.", AID_BLUETOOTH, 0 }, { NULL, 0, 0 } }; |