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

Commit e0f2ad89 authored by Pietro Maggi's avatar Pietro Maggi
Browse files

docs: Update DISALLOW_CREATE_WINDOWS documentation so that it explains that...

docs: Update DISALLOW_CREATE_WINDOWS documentation so that it explains that windows besides app windows should not be created. This will block the creation of the following types of windows.

LayoutParams#TYPE_TOAST
LayoutParams#TYPE_APPLICATION_OVERLAY

Bug: 265840695
Change-Id: I12d36306aff17c3a289a0bd058a6e7a4d2217f22
Tests: built docs with go/abtd
parent c614b47a
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1069,11 +1069,6 @@ public class UserManager {
     * Specifies that windows besides app windows should not be
     * created. This will block the creation of the following types of windows.
     * <li>{@link LayoutParams#TYPE_TOAST}</li>
     * <li>{@link LayoutParams#TYPE_PHONE}</li>
     * <li>{@link LayoutParams#TYPE_PRIORITY_PHONE}</li>
     * <li>{@link LayoutParams#TYPE_SYSTEM_ALERT}</li>
     * <li>{@link LayoutParams#TYPE_SYSTEM_ERROR}</li>
     * <li>{@link LayoutParams#TYPE_SYSTEM_OVERLAY}</li>
     * <li>{@link LayoutParams#TYPE_APPLICATION_OVERLAY}</li>
     *
     * <p>This can only be set by device owners and profile owners on the primary user.