Merge "Don't resume activity if user is locked and encryption is unsupported" into oc-mr1-dev