Merge "grantPermissionsLPw: introduce doSignaturePermission" into jb-mr2-dev