Remove unused using statement / host stub

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

Test: build
Change-Id: I5736f553db1a615d51b8fe3cbf9b4aee89451076
This commit is contained in:
Tom Cherry 2018-05-09 15:25:39 -07:00
parent 751f2fa535
commit 2fa178a01e
3 changed files with 0 additions and 9 deletions

View file

@ -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

View file

@ -65,7 +65,6 @@
using namespace std::literals;
using android::base::GetIntProperty;
using android::base::ReadFileToString;
using android::base::Split;
using android::base::StartsWith;

View file

@ -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;