Skip to content

Commit

Permalink
[power] hack - wake on any action
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Mar 26, 2016
1 parent d6ad118 commit 224aa43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xbmc/powermanagement/PowerSyscallVirtualSleep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ bool CPowerSyscallVirtualSleep::ProcessAction(const CAction& action)

// device is in virtual sleep, only one of the power keys will
// wake it up again.
if (action.GetID() == ACTION_BUILT_IN_FUNCTION)
//if (action.GetID() == ACTION_BUILT_IN_FUNCTION)
{
std::string name = action.GetName();
StringUtils::ToLower(name);
if(name.Equals("xbmc.suspend()") ||
/*if(name.Equals("system.suspend") ||
name.Equals("shutdown") ||
name.Equals("suspend") ||
name.Equals("hibernate"))
name.Equals("hibernate"))*/
{
if(VirtualWake())
{
Expand Down

0 comments on commit 224aa43

Please sign in to comment.