Merge "DO NOT MERGE Hide decor caption APIs" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
47aa3f61ac
@@ -3479,7 +3479,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();
|
||||
@@ -3601,7 +3600,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 final deprecated void setProgress(int);
|
||||
method public final deprecated void setProgressBarIndeterminate(boolean);
|
||||
method public final deprecated void setProgressBarIndeterminateVisibility(boolean);
|
||||
|
||||
@@ -3606,7 +3606,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();
|
||||
@@ -3729,7 +3728,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 final deprecated void setProgress(int);
|
||||
method public final deprecated void setProgressBarIndeterminate(boolean);
|
||||
method public final deprecated void setProgressBarIndeterminateVisibility(boolean);
|
||||
|
||||
@@ -3479,7 +3479,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();
|
||||
@@ -3601,7 +3600,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 final deprecated void setProgress(int);
|
||||
method public final deprecated void setProgressBarIndeterminate(boolean);
|
||||
method public final deprecated void setProgressBarIndeterminateVisibility(boolean);
|
||||
|
||||
@@ -7007,6 +7007,8 @@ public class Activity extends ContextThemeWrapper
|
||||
* @return True if caption is displayed on content, false if it pushes the content down.
|
||||
*
|
||||
* @see {@link #setOverlayWithDecorCaptionEnabled(boolean)}
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public boolean isOverlayWithDecorCaptionEnabled() {
|
||||
return mWindow.isOverlayWithDecorCaptionEnabled();
|
||||
@@ -7018,6 +7020,8 @@ 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);
|
||||
|
||||
Reference in New Issue
Block a user