Ear detection function

The product has a built-in sensor. The sensor detects when the product is removed from or inserted into the ear, and automatically performs operations during music playback or a call.