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

Commit cb4a489f authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

am 4ecb5fb2: am 82bdfcfa: Update docs for Window.setElevation(), apply changes...

am 4ecb5fb2: am 82bdfcfa: Update docs for Window.setElevation(), apply changes immediately automerge: 71922de6

* commit '4ecb5fb2':
  Update docs for Window.setElevation(), apply changes immediately
parents c2b7abdb 4ecb5fb2
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -1087,6 +1087,10 @@ public abstract class Window {


    /**
    /**
     * Sets the window elevation.
     * Sets the window elevation.
     * <p>
     * Changes to this property take effect immediately and will cause the
     * window surface to be recreated. This is an expensive operation and as a
     * result, this property should not be animated.
     *
     *
     * @param elevation The window elevation.
     * @param elevation The window elevation.
     * @see View#setElevation(float)
     * @see View#setElevation(float)
+1 −0
Original line number Original line Diff line number Diff line
@@ -1338,6 +1338,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
        if (mDecor != null) {
        if (mDecor != null) {
            mDecor.setElevation(elevation);
            mDecor.setElevation(elevation);
        }
        }
        dispatchWindowAttributesChanged(getAttributes());
    }
    }


    @Override
    @Override