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

Commit f460bac7 authored by Lingyu Feng's avatar Lingyu Feng
Browse files

Edit java doc of DisplayContent#allowContentModeSwitch

Bug: None
Test: None
Flag: EXEMPT java doc edition
Change-Id: Ibd089068e9df2c5d27e0b7f1fc71f9ae7f37247d
parent de92990e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3281,6 +3281,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.