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

Commit 193fc075 authored by Christopher Tate's avatar Christopher Tate
Browse files

Docs tweak

Cross-reference the flag manipulation methods in Window to make
it easier to discover them.

Change-Id: I81ef38fd69b43683e4ec8d48c058496470533b53
parent 71ebf283
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -718,6 +718,7 @@ public abstract class Window {
     * per {@link #setFlags}.
     * @param flags The flag bits to be set.
     * @see #setFlags
     * @see #clearFlags
     */
    public void addFlags(int flags) {
        setFlags(flags, flags);
@@ -728,6 +729,7 @@ public abstract class Window {
     * per {@link #setFlags}.
     * @param flags The flag bits to be cleared.
     * @see #setFlags
     * @see #addFlags
     */
    public void clearFlags(int flags) {
        setFlags(0, flags);
@@ -749,6 +751,8 @@ public abstract class Window {
     *
     * @param flags The new window flags (see WindowManager.LayoutParams).
     * @param mask Which of the window flag bits to modify.
     * @see #addFlags
     * @see #clearFlags
     */
    public void setFlags(int flags, int mask) {
        final WindowManager.LayoutParams attrs = getAttributes();