Merge "Expose grantPermission via systemApi."