Loading packages/SystemUI/AndroidManifest.xml +1 −1 Original line number Diff line number Diff line Loading @@ -865,7 +865,7 @@ <activity android:name=".settings.brightness.BrightnessDialog" android:label="@string/quick_settings_brightness_dialog_title" android:theme="@style/Theme.SystemUI.QuickSettings.BrightnessDialog" android:theme="@style/BrightnessDialog" android:finishOnCloseSystemDialogs="true" android:launchMode="singleInstance" android:excludeFromRecents="true" Loading packages/SystemUI/res/values/styles.xml +2 −1 Original line number Diff line number Diff line Loading @@ -398,7 +398,8 @@ <item name="android:itemTextAppearance">@style/Control.MenuItem</item> </style> <style name="Theme.SystemUI.QuickSettings.BrightnessDialog" parent="@android:style/Theme.DeviceDefault.Dialog"> <!-- Cannot double inherit. Use Theme.SystemUI.QuickSettings in code to match --> <style name="BrightnessDialog" parent="@android:style/Theme.DeviceDefault.Dialog"> <item name="android:windowBackground">@android:color/transparent</item> </style> Loading packages/SystemUI/src/com/android/systemui/settings/brightness/BrightnessDialog.java +1 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,7 @@ public class BrightnessDialog extends Activity { window.getDecorView(); window.setLayout( WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.WRAP_CONTENT); getTheme().applyStyle(R.style.Theme_SystemUI_QuickSettings, false); setContentView(R.layout.brightness_mirror_container); FrameLayout frame = findViewById(R.id.brightness_mirror_container); Loading Loading
packages/SystemUI/AndroidManifest.xml +1 −1 Original line number Diff line number Diff line Loading @@ -865,7 +865,7 @@ <activity android:name=".settings.brightness.BrightnessDialog" android:label="@string/quick_settings_brightness_dialog_title" android:theme="@style/Theme.SystemUI.QuickSettings.BrightnessDialog" android:theme="@style/BrightnessDialog" android:finishOnCloseSystemDialogs="true" android:launchMode="singleInstance" android:excludeFromRecents="true" Loading
packages/SystemUI/res/values/styles.xml +2 −1 Original line number Diff line number Diff line Loading @@ -398,7 +398,8 @@ <item name="android:itemTextAppearance">@style/Control.MenuItem</item> </style> <style name="Theme.SystemUI.QuickSettings.BrightnessDialog" parent="@android:style/Theme.DeviceDefault.Dialog"> <!-- Cannot double inherit. Use Theme.SystemUI.QuickSettings in code to match --> <style name="BrightnessDialog" parent="@android:style/Theme.DeviceDefault.Dialog"> <item name="android:windowBackground">@android:color/transparent</item> </style> Loading
packages/SystemUI/src/com/android/systemui/settings/brightness/BrightnessDialog.java +1 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,7 @@ public class BrightnessDialog extends Activity { window.getDecorView(); window.setLayout( WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.WRAP_CONTENT); getTheme().applyStyle(R.style.Theme_SystemUI_QuickSettings, false); setContentView(R.layout.brightness_mirror_container); FrameLayout frame = findViewById(R.id.brightness_mirror_container); Loading