diff options
| author | 2017-04-25 06:09:25 +0000 | |
|---|---|---|
| committer | 2017-04-25 06:09:25 +0000 | |
| commit | 8f8c43bde8842f93bb2f5e8d6effc5b51fe3e066 (patch) | |
| tree | dd3190d9c1437e0e08008cd9977e5f68166630e6 | |
| parent | 6120510e8e55545fc4569c32abad7aef968d744e (diff) | |
| parent | 302ba2d3ab85a7be89fdd6446c115cc5c2b22184 (diff) | |
Merge "Continue to @hide freeform decor caption APIs" into oc-dev
am: 302ba2d3ab
Change-Id: I98135d6354a269669e176d9f4dee5b825578ff22
| -rw-r--r-- | api/current.txt | 2 | ||||
| -rw-r--r-- | api/system-current.txt | 2 | ||||
| -rw-r--r-- | api/test-current.txt | 2 | ||||
| -rw-r--r-- | core/java/android/app/Activity.java | 2 |
4 files changed, 2 insertions, 6 deletions
diff --git a/api/current.txt b/api/current.txt index 3cb9e4b69f16..bfb3d6f2fc55 100644 --- a/api/current.txt +++ b/api/current.txt @@ -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); diff --git a/api/system-current.txt b/api/system-current.txt index cc882541f332..19395fed51cf 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -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); diff --git a/api/test-current.txt b/api/test-current.txt index 08c00d15d4eb..e6c6d3a2c4fb 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -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); diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index 2843dc226416..cdfb52b132f1 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -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); |