Merge "Fix security issue for using mock location without permission."