mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc: add PR2403
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
473be051cf
commit
f6123f7c87
14
packages/mediacenter/xbmc/patches/xbmc-990.24-PR2403.patch
Normal file
14
packages/mediacenter/xbmc/patches/xbmc-990.24-PR2403.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -Naur xbmc-12.0.6/xbmc/powermanagement/PowerManager.h xbmc-12.0.6.patch/xbmc/powermanagement/PowerManager.h
|
||||
--- xbmc-12.0.6/xbmc/powermanagement/PowerManager.h 2013-03-11 18:01:45.000000000 +0100
|
||||
+++ xbmc-12.0.6.patch/xbmc/powermanagement/PowerManager.h 2013-03-12 13:42:28.698769168 +0100
|
||||
@@ -32,8 +32,8 @@
|
||||
virtual bool Reboot() { return false; }
|
||||
|
||||
virtual bool CanPowerdown() { return true; }
|
||||
- virtual bool CanSuspend() { return true; }
|
||||
- virtual bool CanHibernate() { return true; }
|
||||
+ virtual bool CanSuspend() { return false; }
|
||||
+ virtual bool CanHibernate() { return false; }
|
||||
virtual bool CanReboot() { return true; }
|
||||
|
||||
virtual int BatteryLevel() { return 0; }
|
Loading…
x
Reference in New Issue
Block a user