diff options
| -rw-r--r-- | core/res/Android.bp | 1 | ||||
| -rw-r--r-- | core/res/AndroidManifest.xml | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/core/res/Android.bp b/core/res/Android.bp index c1edb1542ea1..bcc0a975b913 100644 --- a/core/res/Android.bp +++ b/core/res/Android.bp @@ -165,6 +165,7 @@ android_app { "com.android.window.flags.window-aconfig", "android.permission.flags-aconfig", "android.os.flags-aconfig", + "android.os.vibrator.flags-aconfig", "android.media.tv.flags-aconfig", ], } diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 55c66e2329e4..160f651dbc5c 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -2617,7 +2617,8 @@ @hide --> <permission android:name="android.permission.VIBRATE_VENDOR_EFFECTS" - android:protectionLevel="signature|privileged" /> + android:protectionLevel="signature|privileged" + android:featureFlag="android.os.vibrator.vendor_vibration_effects" /> <!-- @SystemApi Allows access to the vibrator state. <p>Protection level: signature |