summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptGL.java
diff options
context:
space:
mode:
authorAbhijeet Kaur <abkaur@google.com>2019-09-26 14:19:32 +0100
committerAbhijeet Kaur <abkaur@google.com>2019-12-18 14:09:44 +0000
commitb7518de1b450cbf08e85f70e4e4a1509b595d088 (patch)
treed88d0f14a677a71bd30ac29c07e1ce3bd5c0b4d4 /rs/java/android/renderscript/RenderScriptGL.java
parent6a8f0fb9a52620fed55be378bc51d70dab33a52e (diff)
Add Light/Dark theme for bugreport warning dialog
Previously added "android:theme="@android:style/Theme. DeviceDefault.DayNight" to the application tag in this manifest file to enable dark theme for bugreport info. BugreportWarningActivity is nested within this application tag, so assumed all the child tags to have DayNight theme. android:theme="@android:style/Theme.DeviceDefault.Dialog.Alert" shows the dialog always as Dark mode. android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.Alert" shows the dialog always as Light mode. This bug is not easily notice-able as "Do not show this again" checkbox is checked by default for this dialog. Unless one wipes data partition, this dialog doesn't come up even after flashing new builds. Bug: 141663298 Bug: 146400225 Test: Normal (light mode) Trigger interactive/full/wifi bugreport. Click on bugreport finished "Share" notification. Light mode warning dialog should appear. (with white background) Uncheck the "Do not show this again" checkbox to test with dark mode. Test: Go to Settings. Turn on Dark theme. Trigger interactive/full/wifi bugreport. Click on bugreport finished "Share" notification. Dark mode warning dialog should appear. (with dark grey background) Merged-In: I200c592608261665e4c2416303f573522c6bc59a Change-Id: I200c592608261665e4c2416303f573522c6bc59a (cherry picked from commit 43bbe8a2fcce4bddfb59b8545e55ed328315a064)
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions