diff options
Diffstat (limited to 'power-common.c')
-rw-r--r-- | power-common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/power-common.c b/power-common.c index cdac1e6..2c8495f 100644 --- a/power-common.c +++ b/power-common.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. + * Copyright (C) 2017-2019 The LineageOS Project * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -93,11 +94,18 @@ void power_hint(power_hint_t hint, void* data) { } } break; + case POWER_HINT_SET_PROFILE: + ALOGI("set profile power hint not handled in power_hint_override"); + break; default: break; } } +int __attribute__((weak)) get_number_of_profiles() { + return 0; +} + int __attribute__((weak)) set_interactive_override(int UNUSED(on)) { return HINT_NONE; } |