Merge "Delay ACTION_MAIN processing when not focused." into jb-mr1-dev