farhan678 / adwhirl

Automatically exported from code.google.com/p/adwhirl
0 stars 0 forks source link

Android SDK ad requests continue in sleep mode. #205

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start adwhirl-enabled app and let it load up an ad
2. Push the device sleep button (or wait forever).
3. Watch ADB output - the adwhirl interface should continue to request ads.
(assumes using ADB to monitor device)

What is the expected output? What do you see instead?
Expected the device to stop requesting ads on sleep. It keeps requesting them.

What version of the product are you using? On what operating system?
Android SDK tested on versions 2.6.2 and 3.0

Please provide any additional information below.
In appears the "onWindowVisibilityChanged" override is not called on the 
AdWhirlLayout class when the device goes to sleep.

Original issue reported on code.google.com by kgbc...@gmail.com on 4 Apr 2011 at 9:35