Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68019e95 authored by Jorge Gil's avatar Jorge Gil
Browse files

Make caption bar appearance flags debuggable

Bug: None
Test: dumpsys window windows - check caption flags are readable
Change-Id: I05779601844b6e87633b54acd951b77ca67f52b8
parent f727200c
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package android.view;

import static android.view.WindowInsetsController.APPEARANCE_FORCE_LIGHT_NAVIGATION_BARS;
import static android.view.WindowInsetsController.APPEARANCE_LIGHT_CAPTION_BARS;
import static android.view.WindowInsetsController.APPEARANCE_LIGHT_NAVIGATION_BARS;
import static android.view.WindowInsetsController.APPEARANCE_LIGHT_STATUS_BARS;
import static android.view.WindowInsetsController.APPEARANCE_LOW_PROFILE_BARS;
@@ -24,6 +25,7 @@ import static android.view.WindowInsetsController.APPEARANCE_OPAQUE_NAVIGATION_B
import static android.view.WindowInsetsController.APPEARANCE_OPAQUE_STATUS_BARS;
import static android.view.WindowInsetsController.APPEARANCE_SEMI_TRANSPARENT_NAVIGATION_BARS;
import static android.view.WindowInsetsController.APPEARANCE_SEMI_TRANSPARENT_STATUS_BARS;
import static android.view.WindowInsetsController.APPEARANCE_TRANSPARENT_CAPTION_BAR_BACKGROUND;
import static android.view.WindowInsetsController.BEHAVIOR_DEFAULT;
import static android.view.WindowInsetsController.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE;

@@ -69,7 +71,15 @@ public class InsetsFlags {
            @ViewDebug.FlagToString(
                    mask = APPEARANCE_FORCE_LIGHT_NAVIGATION_BARS,
                    equals = APPEARANCE_FORCE_LIGHT_NAVIGATION_BARS,
                    name = "FORCE_LIGHT_NAVIGATION_BARS")
                    name = "FORCE_LIGHT_NAVIGATION_BARS"),
            @ViewDebug.FlagToString(
                    mask = APPEARANCE_TRANSPARENT_CAPTION_BAR_BACKGROUND,
                    equals = APPEARANCE_TRANSPARENT_CAPTION_BAR_BACKGROUND,
                    name = "APPEARANCE_TRANSPARENT_CAPTION_BAR_BACKGROUND"),
            @ViewDebug.FlagToString(
                    mask = APPEARANCE_LIGHT_CAPTION_BARS,
                    equals = APPEARANCE_LIGHT_CAPTION_BARS,
                    name = "APPEARANCE_LIGHT_CAPTION_BARS")
    })
    public @Appearance int appearance;