summaryrefslogtreecommitdiff
path: root/sysprop
diff options
context:
space:
mode:
author Henri Chataing <henrichataing@google.com> 2024-07-03 10:49:25 -0700
committer Henri Chataing <henrichataing@google.com> 2024-07-03 18:37:44 +0000
commit3d28bf010bb986eed8b6aee0ee073ba6b91892eb (patch)
tree9d7a0b6611ab1b2c0080017ea336c20891f34137 /sysprop
parente476ad487aee7587cbe2cf93e7cd20ce9c7f53cb (diff)
sysprop: Remove the wrapper GET_SYSPROP
Originally added to let FLOSS have a different API. Ia8b81aa0800cc02f82bed1666dd14ffbbbe82bbf removes this workaround. Bug: 331817295 Test: m com.android.btservices Test: ./floss/build/build-in-container.py Flag: EXEMPT, mechanical refactor Change-Id: I8d6bdd7cac1da0a1bc76ca6ede4fcd98357cdb0e
Diffstat (limited to 'sysprop')
-rw-r--r--sysprop/exported_include/android_bluetooth_sysprop.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sysprop/exported_include/android_bluetooth_sysprop.h b/sysprop/exported_include/android_bluetooth_sysprop.h
index 01aed4f3bc..50553ecc5b 100644
--- a/sysprop/exported_include/android_bluetooth_sysprop.h
+++ b/sysprop/exported_include/android_bluetooth_sysprop.h
@@ -22,6 +22,3 @@
#include <bta.sysprop.h>
#include <device_id.sysprop.h>
#include <hfp.sysprop.h>
-
-#define GET_SYSPROP(namespace, prop, default) \
- android::sysprop::bluetooth::namespace ::prop().value_or(default)