- Code: Select all
<action android:name="android.intent.action.SCREEN_ON" />
<action android:name="android.intent.action.SCREEN_OFF" />
and eventually ended up commenting everything out in my ScreenOn BroadcastReceiver class and just adding a Toast.makeText() to it just to see if I would get a toast when I turn the screen on, but I'm not. I've probably just been staring at it for too long, but does anyone see what I'm doing wrong?