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

Commit a0a2dca1 authored by Lingyu Feng's avatar Lingyu Feng Committed by Android (Google) Code Review
Browse files

Merge "Edit java doc of DisplayContent#allowContentModeSwitch" into main

parents fdffe034 f460bac7
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3280,6 +3280,13 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
    }

     /**
      * Whether the display is allowed to switch the content mode between extended and mirroring.
      * If the content mode is extended, the display will start home activity and show system
      * decorations, such as wallpapaer, status bar and navigation bar.
      * If the content mode is mirroring, the display will not show home activity or system
      * decorations.
      * The content mode is switched when {@link Display#canHostTasks()} changes.
      *
      * Note that we only allow displays that are able to show system decorations to use the content
      * mode switch; however, not all displays that are able to show system decorations are allowed
      * to use the content mode switch.