Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c3abf53 authored by Andrew Scull's avatar Andrew Scull Committed by Automerger Merge Worker
Browse files

Merge "Update to improved system_properties API." am: dfa5fc3b am: c8e0dde3 am: bcd878db

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1973904

Change-Id: Ie31034018d9b2245913b0ee64adf783c4ab2d093
parents d762e857 bcd878db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
/// Gets the value of a system property on Android
#[cfg(target_os = "android")]
pub fn get(name: &str) -> Option<String> {
    rustutils::system_properties::read(name).ok()
    rustutils::system_properties::read(name).unwrap_or(None)
}

/// Fake getter for non-Android, which will always return nothing.