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

Commit 8fc25c3e authored by Joel Galenson's avatar Joel Galenson Committed by Gerrit Code Review
Browse files

Merge "Migrate to the librustutils system property bindings."

parents f768cf91 0d5e154e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ rust_library {
        android: {
            rustlibs: [
                "libandroid_logger",
                "libsystem_properties-rust",
                "librustutils",
            ],
            shared_libs: [
                "libcutils",
+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> {
    system_properties::read(name).ok()
    rustutils::system_properties::read(name).ok()
}

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