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

Commit 95dd3cef authored by Tom Cherry's avatar Tom Cherry
Browse files

Frameworks: Remove warning for SystemProperties.get

We now disallow non-UTF8 property values directly in property_service,
so there is no need for this warning.

This partially reverts 33aea8d4.

Bug: 63177684
Test: make
Change-Id: I61f49f635c6095013f55b906e00925a8cbd1ea8c
parent 2b20612e
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -84,9 +84,6 @@ public class SystemProperties {
    /**
     * Get the String value for the given {@code key}.
     *
     * <b>WARNING:</b> Do not use this method if the value may not be a valid UTF string! This
     * method will crash in native code.
     *
     * @param key the key to lookup
     * @return an empty string if the {@code key} isn't found
     */
@@ -99,9 +96,6 @@ public class SystemProperties {
    /**
     * Get the String value for the given {@code key}.
     *
     * <b>WARNING:</b> Do not use this method if the value may not be a valid UTF string! This
     * method will crash in native code.
     *
     * @param key the key to lookup
     * @param def the default value in case the property is not set or empty
     * @return if the {@code key} isn't found, return {@code def} if it isn't null, or an empty