Remove custom theme added for tooltip in captions toggle first run show.

windowIsFloating is necessary to stop drawing system bar backgrounds on
certain devices.

Bug: 130786771
Test: manual
Change-Id: Ic095d72d5dbfad1631b46e75775b14c7a36121b6
This commit is contained in:
Anthony Tripaldi
2019-04-25 11:03:32 -04:00
parent e0b95fbe37
commit 477d097f79
5 changed files with 5 additions and 9 deletions

View File

@@ -22,7 +22,7 @@
android:gravity="right"
android:layout_gravity="right"
android:background="@android:color/transparent"
android:theme="@style/volume_dialog_theme">
android:theme="@style/qs_theme">
<FrameLayout
android:id="@+id/volume_dialog"

View File

@@ -22,7 +22,7 @@
android:gravity="right"
android:layout_gravity="right"
android:background="@android:color/transparent"
android:theme="@style/volume_dialog_theme">
android:theme="@style/qs_theme">
<!-- right-aligned to be physically near volume button -->
<LinearLayout

View File

@@ -20,7 +20,7 @@
android:layout_width="@dimen/volume_dialog_panel_width"
android:clipChildren="false"
android:clipToPadding="false"
android:theme="@style/volume_dialog_theme">
android:theme="@style/qs_theme">
<LinearLayout
android:layout_height="wrap_content"

View File

@@ -317,10 +317,6 @@
<item name="android:windowIsFloating">true</item>
</style>
<style name="volume_dialog_theme" parent="qs_theme">
<item name="android:windowIsFloating">false</item>
</style>
<style name="systemui_theme_remote_input" parent="@android:style/Theme.DeviceDefault.Light">
<item name="android:colorAccent">@color/remote_input_accent</item>
</style>

View File

@@ -166,7 +166,7 @@ public class VolumeDialogImpl implements VolumeDialog,
public VolumeDialogImpl(Context context) {
mContext =
new ContextThemeWrapper(context, com.android.systemui.R.style.volume_dialog_theme);
new ContextThemeWrapper(context, R.style.qs_theme);
mController = Dependency.get(VolumeDialogController.class);
mKeyguard = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE);
mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
@@ -1337,7 +1337,7 @@ public class VolumeDialogImpl implements VolumeDialog,
private final class CustomDialog extends Dialog implements DialogInterface {
public CustomDialog(Context context) {
super(context, com.android.systemui.R.style.volume_dialog_theme);
super(context, R.style.qs_theme);
}
@Override