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

Commit 2fa178a0 authored by Tom Cherry's avatar Tom Cherry
Browse files

Remove unused using statement / host stub

GetIntProperty() isn't used after
Ied46e9346b4ca7931aa4dcf1c9dbc11de0e12d93, so it can be removed.

Test: build
Change-Id: I5736f553db1a615d51b8fe3cbf9b4aee89451076
parent 751f2fa5
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -35,11 +35,6 @@ namespace base {

std::string GetProperty(const std::string& key, const std::string& default_value);
bool GetBoolProperty(const std::string& key, bool default_value);
template <typename T>
T GetIntProperty(const std::string&, T default_value, T = std::numeric_limits<T>::min(),
                 T = std::numeric_limits<T>::max()) {
    return default_value;
}

}  // namespace base
}  // namespace android
+0 −1
Original line number Diff line number Diff line
@@ -65,7 +65,6 @@

using namespace std::literals;

using android::base::GetIntProperty;
using android::base::ReadFileToString;
using android::base::Split;
using android::base::StartsWith;
+0 −3
Original line number Diff line number Diff line
@@ -30,8 +30,6 @@
#include "util.h"

#if defined(__ANDROID__)
#include <android-base/properties.h>

#include "property_service.h"
#include "selinux.h"
#else
@@ -39,7 +37,6 @@
#endif

using android::base::GetExecutablePath;
using android::base::GetIntProperty;
using android::base::Join;
using android::base::Socketpair;
using android::base::Split;