Merge "Check for permission before registering remote animations to prevent crash." into ub-launcher3-master