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

Commit da8e1a5c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make the location access check read the flag as a boolean."

parents 831c488d ae9c49bc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -660,7 +660,7 @@ public final class Utils {
     * @return {@code true} iff the Location Access Check is enabled.
     */
    public static boolean isLocationAccessCheckEnabled() {
        return DeviceConfig.getProperty(DeviceConfig.Privacy.NAMESPACE,
                DeviceConfig.Privacy.PROPERTY_LOCATION_ACCESS_CHECK_ENABLED) != null;
        return Boolean.parseBoolean(DeviceConfig.getProperty(DeviceConfig.Privacy.NAMESPACE,
                DeviceConfig.Privacy.PROPERTY_LOCATION_ACCESS_CHECK_ENABLED));
    }
}