From ac865c8352be24e2775bfa20df9508b55d2e24d6 Mon Sep 17 00:00:00 2001 From: Ethan Chen Date: Thu, 7 Jun 2018 22:46:17 -0700 Subject: livedisplay: Remove unused using statements Change-Id: I86572e575abe0e119193e59b1bd26ae4186bfee0 --- livedisplay/1.0/default/impl/SDM.cpp | 1 + livedisplay/1.0/default/include/impl/SDM.h | 11 +++-------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/livedisplay/1.0/default/impl/SDM.cpp b/livedisplay/1.0/default/impl/SDM.cpp index 987b7c5..62a7ffe 100644 --- a/livedisplay/1.0/default/impl/SDM.cpp +++ b/livedisplay/1.0/default/impl/SDM.cpp @@ -87,6 +87,7 @@ namespace V1_0 { namespace implementation { using ::android::BAD_VALUE; +using ::android::NO_INIT; using ::android::OK; using ::android::sp; using ::android::status_t; diff --git a/livedisplay/1.0/default/include/impl/SDM.h b/livedisplay/1.0/default/include/impl/SDM.h index 7d7bfd0..b7fd02b 100644 --- a/livedisplay/1.0/default/include/impl/SDM.h +++ b/livedisplay/1.0/default/include/impl/SDM.h @@ -28,11 +28,6 @@ namespace livedisplay { namespace V1_0 { namespace implementation { -using ::android::hardware::Return; -using ::android::NO_INIT; - -using ::vendor::lineage::livedisplay::V1_0::IColor; - class SDM : public ColorBackend { public: virtual android::status_t getDisplayModes(std::vector>& profiles) override; @@ -44,20 +39,20 @@ class SDM : public ColorBackend { virtual bool isAdaptiveBacklightEnabled() override; virtual android::status_t setOutdoorModeEnabled(bool /* enabled */) override { - return NO_INIT; + return android::NO_INIT; } virtual bool isOutdoorModeEnabled() override { return false; } virtual android::status_t getColorBalanceRange(Range& /* range */) override { - return NO_INIT; + return android::NO_INIT; } virtual int32_t getColorBalance() override { return 0; } virtual android::status_t setColorBalance(int32_t /* balance */) override { - return NO_INIT; + return android::NO_INIT; } virtual android::status_t getPictureAdjustmentRanges(HSICRanges& ranges) override; -- cgit v1.2.3