If I'm sending some bytes using sendMessage
from Huawei p9 (Android 6.0) into Android Wear (Sony) the messages are not delivered if the screen of handheld device is turned off. The notifications inside wearable are not updated until the screen in the phone is turned on (in 1 minute)! Will setUrgent
help? I already added the application in "list of granded applications" that can work while the screen is off. The application already works in WAKELOCK state.
Is it a feature for all Android 6.0 and newer devices?
IS IT POSSIBLE TO AVOID THIS? ANY CLUES?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…