diff --git a/BoardConfig.mk b/BoardConfig.mk index a544961..17e311e 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -59,6 +59,7 @@ BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE := true # DT2W TARGET_TAP_TO_WAKE_NODE := /proc/gesture_function +TARGET_POWERHAL_MODE_EXT := $(DEVICE_PATH)/power/power-mode.cpp # DTB BOARD_PREBUILT_DTBOIMAGE := $(KERNEL_PATH)/dtbo.img diff --git a/power/power-mode.cpp b/power/power-mode.cpp index cad725e..0ffa53e 100644 --- a/power/power-mode.cpp +++ b/power/power-mode.cpp @@ -10,11 +10,11 @@ #include namespace aidl { -namespace android { +namespace google { namespace hardware { namespace power { namespace impl { -namespace mediatek { +namespace pixel { using ::aidl::android::hardware::power::Mode; @@ -39,9 +39,9 @@ bool setDeviceSpecificMode(Mode type, bool enabled) { } } -} // namespace mediatek +} // namespace pixel } // namespace impl } // namespace power } // namespace hardware -} // namespace android +} // namespace google } // namespace aidl