java - Unlocking a screen stalls my max priority thread running inside a service (since Lollipop) -


i have max priority thread running inside service reads data bluetoothsocket inputstream. thread works , should work while screen locked.

but, since lollipop, started experiencing "stalls" , "slow-downs" in thread @ moment screen gets unlocked (wake up), causes me lose data bluetooth device communicate with. running service foreground service doesn't help. there solution this, or maybe google talk changes introduced in lollipop.

also note, since app used in experimental conditions small amount of people (it's not on playstore), partial solution problem preventing phone locked power button, if possible. thanks.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -