forked from len0rd/rockbox
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
This commit is contained in:
parent
f7c83ff969
commit
efe41e91c4
1 changed files with 3 additions and 0 deletions
|
@ -132,7 +132,10 @@ public class RockboxActivity extends Activity
|
||||||
{
|
{
|
||||||
super.onPause();
|
super.onPause();
|
||||||
if (rbservice != null)
|
if (rbservice != null)
|
||||||
|
{
|
||||||
rbservice.set_activity(null);
|
rbservice.set_activity(null);
|
||||||
|
rbservice.get_fb().dispatchWindowVisibilityChanged(View.INVISIBLE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue