diff options
author | 2024-06-22 15:41:53 -0700 | |
---|---|---|
committer | 2024-07-07 10:58:27 -0700 | |
commit | 2bf4c772393460d1830fbed203a65197e5999a6c (patch) | |
tree | a2d42bfe5193ec7a603aa2b540beae56ed6493cf /floss/android-base/properties.cc | |
parent | ace0cd51f43c3b1f8709ae962899b3f539cb0965 (diff) |
Format: apply clang rules
Restore SpacesBeforeTrailingComments to 2 to match current style
Then run clang-format -i **/**.{c,h,cc,cpp,hpp}
Then fix a bunch of typo (reported by gerrit)
Then fix unnecessary multiline string
Then fix whitespace for disabled clang format (reported by cpplint)
This is no-op
Bug: 311772251
Test: mmm packages/modules/Bluetooth
Flag: Exempt Format only
Change-Id: If135447803a40a2a07d4630ba2195e08ef8d250c
Diffstat (limited to 'floss/android-base/properties.cc')
-rw-r--r-- | floss/android-base/properties.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/floss/android-base/properties.cc b/floss/android-base/properties.cc index dea892b6c4..45e293ba92 100644 --- a/floss/android-base/properties.cc +++ b/floss/android-base/properties.cc @@ -21,8 +21,7 @@ namespace android { namespace base { -std::string GetProperty(const std::string& key, - const std::string& default_value) { +std::string GetProperty(const std::string& key, const std::string& default_value) { return bluetooth::os::GetSystemProperty(key).value_or(default_value); } |