mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 21:56:26 -08:00
LG8n: power: Adapt namespace for libperfmgr
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
132d54c4d1
commit
92085eed10
|
@ -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
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
#include <sys/ioctl.h>
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue