I am receiving a message using the MessageApi
. I now need to wake the wearable's screen programmatically from the onMessageReceived()
event. How do I do this?
I've tried using PowerManager
with this code:
PowerManager powerManager = (PowerManager) getSystemService(POWER_SERVICE);
PowerManager.WakeLock wakeLock = powerManager.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG);
wakeLock.acquire();
which does nothing to wake the watchface