RIM granted patent for automatic volume adjustment based on ear seal