Skip to content

Commit 496038e

Browse files
RankoRthestinger
authored andcommitted
Fix dark theme for Debug menu
1 parent 66390b5 commit 496038e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/com/android/messaging/util/DebugUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
import androidx.appcompat.app.AlertDialog;
3333

34-
import static androidx.appcompat.R.style.Theme_AppCompat_Light_Dialog_Alert;
34+
import static androidx.appcompat.R.style.Theme_AppCompat_DayNight_Dialog_Alert;
3535

3636
import com.android.messaging.Factory;
3737
import com.android.messaging.R;
@@ -69,7 +69,7 @@ public class DebugUtils {
6969
public static final int DEBUG_SOUND_SERVER_REQUEST = 0;
7070
public static final int DEBUG_SOUND_DB_OP = 1;
7171

72-
private static final int DIALOG_THEME = Theme_AppCompat_Light_Dialog_Alert;
72+
private static final int DIALOG_THEME = Theme_AppCompat_DayNight_Dialog_Alert;
7373

7474
public static void maybePlayDebugNoise(final Context context, final int sound) {
7575
if (sDebugNoise) {

0 commit comments

Comments
 (0)