Determine why android screen was turned on -
i'm interesting in determine caused screen turn on inside app. know , utilize action_screen_on , user_present broadcasts, can't seem figure out how determine why screen turned on.
was because user hit power key? perhaps phone call came in, or new text message arrived. or perhaps random app requested screen turn on.
i'm not interested in controlling when screen turns on or off, determining reason behind it, app can respond accordingly.
thanks in advance help
Comments
Post a Comment