Update VibrationAttributes javadocs for FLAG_BYPASS_INTERRUPTION_POLICY

Add clarification that this flag can only be applied by privileged apps, and will be ignored otherwise.

Bug: 236932598
Change-Id: I78db484b9d479abed67689c827707b6f141b2c00
Test: N/A
This commit is contained in:
Lais Andrade
2022-06-23 13:13:38 +00:00
parent 24f473395d
commit 2d6c839d89

View File

@@ -133,6 +133,9 @@ public final class VibrationAttributes implements Parcelable {
/**
* Flag requesting vibration effect to be played even under limited interruptions.
*
* <p>Only privileged apps can ignore user settings that limit interruptions, and this
* flag will be ignored otherwise.
*/
public static final int FLAG_BYPASS_INTERRUPTION_POLICY = 0x1;