How to detect if Daydream is on?
android, screensaver
Solution
This answer says you can use:
Intent.ACTION_DREAMING_STARTED and Intent.ACTION_DREAMING_STOPPED
for broadcast events.
Here is documentation
Problem
Is it possible to detect if Daydream is on or off? If so, how? Edit: To clarify, I looking to read the system setting for DayDream (much like you can for airplane mode and other settings). You can infer that from Intent.ACTION_DREAMING_STARTED and Intent.ACTION_DREAMING_STOPPED, but it's not the same thing.