In one of my apps I used the statement MyPhone.KeepAlive(true) so far - to keep it alive but allow for screen dimming. Now on B4A 1.2 I always get some runtime error message: "Illegal Argument Exeception on Line ..." However - if I change the boolean argument to False, no error message is shown. On B4A 1.1 I didn't see that behaving. My Phone Lib is V1.31
Here is some bare bone app which demonstrates that error. Look at the Activity_Create Sub. The resulting runtime error message is included as screenshot in the ZIP archive. You may run that app on the emulator or on a real device - the error remains the same.
Thanks agraham for having a look at my issue which vanished with V1.32 Just for curiosity I reinstalled that obsolete V1.31 afterwards, and - lo and behold - that f%&§#ing message didn't return. Agraham, I swear, I had no drink today (yet). Please believe me...