Merge "Checks keyguard earlier when blocking notifications."