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

Commit 724ca14b authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

Continue to @hide freeform decor caption APIs

Hiding the APIs for now since we're not releasing freeform yet and it's
better not to expose them now in case we'll decide to change them later.

May you make the P release!

Test: manual
Bug: 28774476
Change-Id: Ie4b4d1bdabef9b27d2eb1442ffc9f6c46ce7dfcb
parent 6b3263a6
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3635,7 +3635,6 @@ package android.app {
    method public boolean isInMultiWindowMode();
    method public boolean isInPictureInPictureMode();
    method public boolean isLocalVoiceInteractionSupported();
    method public boolean isOverlayWithDecorCaptionEnabled();
    method public boolean isTaskRoot();
    method public boolean isVoiceInteraction();
    method public boolean isVoiceInteractionRoot();
@@ -3760,7 +3759,6 @@ package android.app {
    method public void setImmersive(boolean);
    method public void setIntent(android.content.Intent);
    method public final void setMediaController(android.media.session.MediaController);
    method public void setOverlayWithDecorCaptionEnabled(boolean);
    method public void setPictureInPictureArgs(android.app.PictureInPictureArgs);
    method public final deprecated void setProgress(int);
    method public final deprecated void setProgressBarIndeterminate(boolean);
+0 −2
Original line number Diff line number Diff line
@@ -3767,7 +3767,6 @@ package android.app {
    method public boolean isInMultiWindowMode();
    method public boolean isInPictureInPictureMode();
    method public boolean isLocalVoiceInteractionSupported();
    method public boolean isOverlayWithDecorCaptionEnabled();
    method public boolean isTaskRoot();
    method public boolean isVoiceInteraction();
    method public boolean isVoiceInteractionRoot();
@@ -3894,7 +3893,6 @@ package android.app {
    method public void setImmersive(boolean);
    method public void setIntent(android.content.Intent);
    method public final void setMediaController(android.media.session.MediaController);
    method public void setOverlayWithDecorCaptionEnabled(boolean);
    method public void setPictureInPictureArgs(android.app.PictureInPictureArgs);
    method public final deprecated void setProgress(int);
    method public final deprecated void setProgressBarIndeterminate(boolean);
+0 −2
Original line number Diff line number Diff line
@@ -3637,7 +3637,6 @@ package android.app {
    method public boolean isInMultiWindowMode();
    method public boolean isInPictureInPictureMode();
    method public boolean isLocalVoiceInteractionSupported();
    method public boolean isOverlayWithDecorCaptionEnabled();
    method public boolean isTaskRoot();
    method public boolean isVoiceInteraction();
    method public boolean isVoiceInteractionRoot();
@@ -3762,7 +3761,6 @@ package android.app {
    method public void setImmersive(boolean);
    method public void setIntent(android.content.Intent);
    method public final void setMediaController(android.media.session.MediaController);
    method public void setOverlayWithDecorCaptionEnabled(boolean);
    method public void setPictureInPictureArgs(android.app.PictureInPictureArgs);
    method public final deprecated void setProgress(int);
    method public final deprecated void setProgressBarIndeterminate(boolean);
+2 −0
Original line number Diff line number Diff line
@@ -7320,6 +7320,7 @@ public class Activity extends ContextThemeWrapper
     * @return True if caption is displayed on content, false if it pushes the content down.
     *
     * @see #setOverlayWithDecorCaptionEnabled(boolean)
     * @hide
     */
    public boolean isOverlayWithDecorCaptionEnabled() {
        return mWindow.isOverlayWithDecorCaptionEnabled();
@@ -7331,6 +7332,7 @@ public class Activity extends ContextThemeWrapper
     * This affects only freeform windows since they display the caption and only the main
     * window of the activity. The caption is used to drag the window around and also shows
     * maximize and close action buttons.
     * @hide
     */
    public void setOverlayWithDecorCaptionEnabled(boolean enabled) {
        mWindow.setOverlayWithDecorCaptionEnabled(enabled);