summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-05-11 17:40:45 -0700
committerJeff Brown <jeffbrown@google.com>2012-05-11 17:56:01 -0700
commit03f3747b2f364bce475aead57141bbc44b1637e7 (patch)
tree6c7b3892c56f00269d937cfc63bb23a8c3fa0600 /include
parent7465678e0d5711ebcd78ae47b3a76821534a23ea (diff)
downloadhardware_libhardware_legacy-03f3747b2f364bce475aead57141bbc44b1637e7.zip
hardware_libhardware_legacy-03f3747b2f364bce475aead57141bbc44b1637e7.tar.gz
hardware_libhardware_legacy-03f3747b2f364bce475aead57141bbc44b1637e7.tar.bz2
Delete unused function.
set_last_user_activity_timeout() is no longer used or useful. It opens a sysfs node that no longer exists that used to be published by a daemon that is no longer even compiled and that is about to be deleted. It used to be called by the power manager with a huge value whose purpose was essentially to disable the timeout feature altogether. Long live dead code! Bug: 6435382 Change-Id: If8f97a66f4e963a11e1c6b67ad97b41b2613043e
Diffstat (limited to 'include')
-rw-r--r--include/hardware_legacy/power.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hardware_legacy/power.h b/include/hardware_legacy/power.h
index 26d04b2..604e0ed 100644
--- a/include/hardware_legacy/power.h
+++ b/include/hardware_legacy/power.h
@@ -33,9 +33,6 @@ enum {
int acquire_wake_lock(int lock, const char* id);
int release_wake_lock(const char* id);
-// set how long to stay awake after the last user activity in seconds
-int set_last_user_activity_timeout(int64_t delay);
-
#if __cplusplus
} // extern "C"