summaryrefslogtreecommitdiffstats
path: root/android/src
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-11-12 22:09:27 +0000
committerThomas Martitz <kugel@rockbox.org>2010-11-12 22:09:27 +0000
commitefe41e91c4cb6c9e815eec367bbb44dab0f2f3f1 (patch)
treeb8733eb05284fab6d6b290d598a515ea80e34077 /android/src
parentf7c83ff96909dad66d76b63f4ff47fdb31b32d6b (diff)
downloadrockbox-efe41e91c4cb6c9e815eec367bbb44dab0f2f3f1.tar.gz
rockbox-efe41e91c4cb6c9e815eec367bbb44dab0f2f3f1.tar.bz2
rockbox-efe41e91c4cb6c9e815eec367bbb44dab0f2f3f1.zip
Android: When the backlight goes off, the RockboxFramebuffer/View isn't made invisible. Force that in order to disable screen updates while backlight is off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28569 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android/src')
-rw-r--r--android/src/org/rockbox/RockboxActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/src/org/rockbox/RockboxActivity.java b/android/src/org/rockbox/RockboxActivity.java
index 47ea6c0ca4..76535687f9 100644
--- a/android/src/org/rockbox/RockboxActivity.java
+++ b/android/src/org/rockbox/RockboxActivity.java
@@ -132,7 +132,10 @@ public class RockboxActivity extends Activity
{
super.onPause();
if (rbservice != null)
+ {
rbservice.set_activity(null);
+ rbservice.get_fb().dispatchWindowVisibilityChanged(View.INVISIBLE);
+ }
}
@Override