How to enable the "vibration and tactile feedback" in the code?

77 Views Asked by At

When the Android phone system is upgraded to Android 14, the "Vibration and Touch Feedback" option is turned off by default. At this time, if the developed Android application has vibration function, vibration is ineffective. However, when "Vibration and Touch Feedback" is turned on, the vibration function returns to normal. How to enable the "vibration and tactile feedback" function in the code?

0

There are 0 best solutions below