From 22db49485e7e708d75d6ba79fbb9c60f1dca1ff1 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Fri, 9 Mar 2018 23:10:20 +0000 Subject: [PATCH] Expose the new brightness permissions as test APIs. Bug: 74332874 Test: atest BrightnessTest Change-Id: Icd341c8813a8f2e806db3f75d6b1f141b56b2911 --- api/test-current.txt | 9 +++++++++ core/res/AndroidManifest.xml | 6 ++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/api/test-current.txt b/api/test-current.txt index 9d67f4c3bb602..54ddd5de79694 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -1,3 +1,12 @@ +package android { + + public static final class Manifest.permission { + field public static final java.lang.String BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_USAGE"; + field public static final java.lang.String CONFIGURE_DISPLAY_BRIGHTNESS = "android.permission.CONFIGURE_DISPLAY_BRIGHTNESS"; + } + +} + package android.animation { public class ValueAnimator extends android.animation.Animator { diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 7aec8125c7d40..687e379cf3f62 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -3088,7 +3088,8 @@ + @SystemApi + @TestApi --> @@ -3101,7 +3102,8 @@ + @SystemApi + @TestApi -->