Apply AppModeFull to BrightnessTest class

BrightnessTest case causes failure for CTS
Instant due to permission issue.

Add AppModefull to BrightnessTest class which
will exclude all tests in it.

This change is suggested by google.

Test: run cts -m CtsDisplayTestCases
--module-parameter INSTANT_APP
Bug: 174211654
Change-Id: I41092ae8092417bf848098d767717cf2b2ca6c56
diff --git a/tests/tests/display/src/android/display/cts/BrightnessTest.java b/tests/tests/display/src/android/display/cts/BrightnessTest.java
index 7bbe88d..0ec6a3d 100644
--- a/tests/tests/display/src/android/display/cts/BrightnessTest.java
+++ b/tests/tests/display/src/android/display/cts/BrightnessTest.java
@@ -36,6 +36,7 @@
 import android.hardware.display.DisplayManager;
 import android.os.ParcelFileDescriptor;
 import android.os.PowerManager;
+import android.platform.test.annotations.AppModeFull;
 import android.provider.Settings;
 import android.util.Pair;
 
@@ -56,6 +57,7 @@
 import java.util.Map;
 import java.util.Scanner;
 
+@AppModeFull
 @MediumTest
 @RunWith(AndroidJUnit4.class)
 public class BrightnessTest {