Loading api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -3724,7 +3724,7 @@ package android.app { method public void onTrimMemory(int); method public void onUserInteraction(); method protected void onUserLeaveHint(); method public void onVisibleBehindCanceled(); method public deprecated void onVisibleBehindCanceled(); method public void onWindowAttributesChanged(android.view.WindowManager.LayoutParams); method public void onWindowFocusChanged(boolean); method public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode.Callback); Loading @@ -3741,7 +3741,7 @@ package android.app { method public android.view.DragAndDropPermissions requestDragAndDropPermissions(android.view.DragEvent); method public final void requestPermissions(java.lang.String[], int); method public final void requestShowKeyboardShortcuts(); method public boolean requestVisibleBehind(boolean); method public deprecated boolean requestVisibleBehind(boolean); method public final boolean requestWindowFeature(int); method public final void runOnUiThread(java.lang.Runnable); method public void setActionBar(android.widget.Toolbar); api/system-current.txt +4 −4 Original line number Diff line number Diff line Loading @@ -3757,7 +3757,7 @@ package android.app { method public boolean hasWindowFocus(); method public void invalidateOptionsMenu(); method public boolean isActivityTransitionRunning(); method public boolean isBackgroundVisibleBehind(); method public deprecated boolean isBackgroundVisibleBehind(); method public boolean isChangingConfigurations(); method public final boolean isChild(); method public boolean isDestroyed(); Loading @@ -3781,7 +3781,7 @@ package android.app { method public void onAttachFragment(android.app.Fragment); method public void onAttachedToWindow(); method public void onBackPressed(); method public void onBackgroundVisibleBehindChanged(boolean); method public deprecated void onBackgroundVisibleBehindChanged(boolean); method protected void onChildTitleChanged(android.app.Activity, java.lang.CharSequence); method public void onConfigurationChanged(android.content.res.Configuration); method public void onContentChanged(); Loading Loading @@ -3856,7 +3856,7 @@ package android.app { method public void onTrimMemory(int); method public void onUserInteraction(); method protected void onUserLeaveHint(); method public void onVisibleBehindCanceled(); method public deprecated void onVisibleBehindCanceled(); method public void onWindowAttributesChanged(android.view.WindowManager.LayoutParams); method public void onWindowFocusChanged(boolean); method public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode.Callback); Loading @@ -3873,7 +3873,7 @@ package android.app { method public android.view.DragAndDropPermissions requestDragAndDropPermissions(android.view.DragEvent); method public final void requestPermissions(java.lang.String[], int); method public final void requestShowKeyboardShortcuts(); method public boolean requestVisibleBehind(boolean); method public deprecated boolean requestVisibleBehind(boolean); method public final boolean requestWindowFeature(int); method public final void runOnUiThread(java.lang.Runnable); method public void setActionBar(android.widget.Toolbar); api/test-current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -3726,7 +3726,7 @@ package android.app { method public void onTrimMemory(int); method public void onUserInteraction(); method protected void onUserLeaveHint(); method public void onVisibleBehindCanceled(); method public deprecated void onVisibleBehindCanceled(); method public void onWindowAttributesChanged(android.view.WindowManager.LayoutParams); method public void onWindowFocusChanged(boolean); method public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode.Callback); Loading @@ -3743,7 +3743,7 @@ package android.app { method public android.view.DragAndDropPermissions requestDragAndDropPermissions(android.view.DragEvent); method public final void requestPermissions(java.lang.String[], int); method public final void requestShowKeyboardShortcuts(); method public boolean requestVisibleBehind(boolean); method public deprecated boolean requestVisibleBehind(boolean); method public final boolean requestWindowFeature(int); method public final void runOnUiThread(java.lang.Runnable); method public void setActionBar(android.widget.Toolbar); core/java/android/app/Activity.java +18 −0 Original line number Diff line number Diff line Loading @@ -803,6 +803,7 @@ public class Activity extends ContextThemeWrapper final FragmentController mFragments = FragmentController.createController(new HostCallbacks()); // Most recent call to requestVisibleBehind(). @Deprecated boolean mVisibleBehind; private static final class ManagedCursor { Loading Loading @@ -6384,9 +6385,13 @@ public class Activity extends ContextThemeWrapper * <p>False will be returned any time this method is called between the return of onPause and * the next call to onResume. * * @deprecated This method's functionality is no longer supported as of * {@link android.os.Build.VERSION_CODES#O} and will be removed in a future release. * * @param visible true to notify the system that the activity wishes to be visible behind other * translucent activities, false to indicate otherwise. Resources must be * released when passing false to this method. * * @return the resulting visibiity state. If true the activity will remain visible beyond * {@link #onPause()} if the next activity is translucent or not fullscreen. If false * then the activity may not count on being visible behind other translucent activities, Loading @@ -6396,6 +6401,7 @@ public class Activity extends ContextThemeWrapper * * @see #onVisibleBehindCanceled() */ @Deprecated public boolean requestVisibleBehind(boolean visible) { if (!mResumed) { // Do not permit paused or stopped activities to do this. Loading @@ -6422,7 +6428,11 @@ public class Activity extends ContextThemeWrapper * process. Otherwise {@link #onStop()} will be called following return. * * @see #requestVisibleBehind(boolean) * * @deprecated This method's functionality is no longer supported as of * {@link android.os.Build.VERSION_CODES#O} and will be removed in a future release. */ @Deprecated @CallSuper public void onVisibleBehindCanceled() { mCalled = true; Loading @@ -6432,6 +6442,9 @@ public class Activity extends ContextThemeWrapper * Translucent activities may call this to determine if there is an activity below them that * is currently set to be visible in the background. * * @deprecated This method's functionality is no longer supported as of * {@link android.os.Build.VERSION_CODES#O} and will be removed in a future release. * * @return true if an activity below is set to visible according to the most recent call to * {@link #requestVisibleBehind(boolean)}, false otherwise. * Loading @@ -6440,6 +6453,7 @@ public class Activity extends ContextThemeWrapper * @see #onBackgroundVisibleBehindChanged(boolean) * @hide */ @Deprecated @SystemApi public boolean isBackgroundVisibleBehind() { try { Loading @@ -6456,12 +6470,16 @@ public class Activity extends ContextThemeWrapper * This call may be a consequence of {@link #requestVisibleBehind(boolean)} or might be * due to a background activity finishing itself. * * @deprecated This method's functionality is no longer supported as of * {@link android.os.Build.VERSION_CODES#O} and will be removed in a future release. * * @param visible true if a background activity is visible, false otherwise. * * @see #requestVisibleBehind(boolean) * @see #onVisibleBehindCanceled() * @hide */ @Deprecated @SystemApi public void onBackgroundVisibleBehindChanged(boolean visible) { } Loading core/java/android/app/ActivityManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -852,7 +852,11 @@ public class ActivityManager { /** * Returns true if activities contained in this stack can request visible behind by * calling {@link Activity#requestVisibleBehind}. * * @deprecated This method's functionality is no longer supported as of * {@link android.os.Build.VERSION_CODES#O} and will be removed in a future release. */ @Deprecated public static boolean activitiesCanRequestVisibleBehind(int stackId) { return stackId == FULLSCREEN_WORKSPACE_STACK_ID || stackId == ASSISTANT_STACK_ID; Loading Loading
api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -3724,7 +3724,7 @@ package android.app { method public void onTrimMemory(int); method public void onUserInteraction(); method protected void onUserLeaveHint(); method public void onVisibleBehindCanceled(); method public deprecated void onVisibleBehindCanceled(); method public void onWindowAttributesChanged(android.view.WindowManager.LayoutParams); method public void onWindowFocusChanged(boolean); method public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode.Callback); Loading @@ -3741,7 +3741,7 @@ package android.app { method public android.view.DragAndDropPermissions requestDragAndDropPermissions(android.view.DragEvent); method public final void requestPermissions(java.lang.String[], int); method public final void requestShowKeyboardShortcuts(); method public boolean requestVisibleBehind(boolean); method public deprecated boolean requestVisibleBehind(boolean); method public final boolean requestWindowFeature(int); method public final void runOnUiThread(java.lang.Runnable); method public void setActionBar(android.widget.Toolbar);
api/system-current.txt +4 −4 Original line number Diff line number Diff line Loading @@ -3757,7 +3757,7 @@ package android.app { method public boolean hasWindowFocus(); method public void invalidateOptionsMenu(); method public boolean isActivityTransitionRunning(); method public boolean isBackgroundVisibleBehind(); method public deprecated boolean isBackgroundVisibleBehind(); method public boolean isChangingConfigurations(); method public final boolean isChild(); method public boolean isDestroyed(); Loading @@ -3781,7 +3781,7 @@ package android.app { method public void onAttachFragment(android.app.Fragment); method public void onAttachedToWindow(); method public void onBackPressed(); method public void onBackgroundVisibleBehindChanged(boolean); method public deprecated void onBackgroundVisibleBehindChanged(boolean); method protected void onChildTitleChanged(android.app.Activity, java.lang.CharSequence); method public void onConfigurationChanged(android.content.res.Configuration); method public void onContentChanged(); Loading Loading @@ -3856,7 +3856,7 @@ package android.app { method public void onTrimMemory(int); method public void onUserInteraction(); method protected void onUserLeaveHint(); method public void onVisibleBehindCanceled(); method public deprecated void onVisibleBehindCanceled(); method public void onWindowAttributesChanged(android.view.WindowManager.LayoutParams); method public void onWindowFocusChanged(boolean); method public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode.Callback); Loading @@ -3873,7 +3873,7 @@ package android.app { method public android.view.DragAndDropPermissions requestDragAndDropPermissions(android.view.DragEvent); method public final void requestPermissions(java.lang.String[], int); method public final void requestShowKeyboardShortcuts(); method public boolean requestVisibleBehind(boolean); method public deprecated boolean requestVisibleBehind(boolean); method public final boolean requestWindowFeature(int); method public final void runOnUiThread(java.lang.Runnable); method public void setActionBar(android.widget.Toolbar);
api/test-current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -3726,7 +3726,7 @@ package android.app { method public void onTrimMemory(int); method public void onUserInteraction(); method protected void onUserLeaveHint(); method public void onVisibleBehindCanceled(); method public deprecated void onVisibleBehindCanceled(); method public void onWindowAttributesChanged(android.view.WindowManager.LayoutParams); method public void onWindowFocusChanged(boolean); method public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode.Callback); Loading @@ -3743,7 +3743,7 @@ package android.app { method public android.view.DragAndDropPermissions requestDragAndDropPermissions(android.view.DragEvent); method public final void requestPermissions(java.lang.String[], int); method public final void requestShowKeyboardShortcuts(); method public boolean requestVisibleBehind(boolean); method public deprecated boolean requestVisibleBehind(boolean); method public final boolean requestWindowFeature(int); method public final void runOnUiThread(java.lang.Runnable); method public void setActionBar(android.widget.Toolbar);
core/java/android/app/Activity.java +18 −0 Original line number Diff line number Diff line Loading @@ -803,6 +803,7 @@ public class Activity extends ContextThemeWrapper final FragmentController mFragments = FragmentController.createController(new HostCallbacks()); // Most recent call to requestVisibleBehind(). @Deprecated boolean mVisibleBehind; private static final class ManagedCursor { Loading Loading @@ -6384,9 +6385,13 @@ public class Activity extends ContextThemeWrapper * <p>False will be returned any time this method is called between the return of onPause and * the next call to onResume. * * @deprecated This method's functionality is no longer supported as of * {@link android.os.Build.VERSION_CODES#O} and will be removed in a future release. * * @param visible true to notify the system that the activity wishes to be visible behind other * translucent activities, false to indicate otherwise. Resources must be * released when passing false to this method. * * @return the resulting visibiity state. If true the activity will remain visible beyond * {@link #onPause()} if the next activity is translucent or not fullscreen. If false * then the activity may not count on being visible behind other translucent activities, Loading @@ -6396,6 +6401,7 @@ public class Activity extends ContextThemeWrapper * * @see #onVisibleBehindCanceled() */ @Deprecated public boolean requestVisibleBehind(boolean visible) { if (!mResumed) { // Do not permit paused or stopped activities to do this. Loading @@ -6422,7 +6428,11 @@ public class Activity extends ContextThemeWrapper * process. Otherwise {@link #onStop()} will be called following return. * * @see #requestVisibleBehind(boolean) * * @deprecated This method's functionality is no longer supported as of * {@link android.os.Build.VERSION_CODES#O} and will be removed in a future release. */ @Deprecated @CallSuper public void onVisibleBehindCanceled() { mCalled = true; Loading @@ -6432,6 +6442,9 @@ public class Activity extends ContextThemeWrapper * Translucent activities may call this to determine if there is an activity below them that * is currently set to be visible in the background. * * @deprecated This method's functionality is no longer supported as of * {@link android.os.Build.VERSION_CODES#O} and will be removed in a future release. * * @return true if an activity below is set to visible according to the most recent call to * {@link #requestVisibleBehind(boolean)}, false otherwise. * Loading @@ -6440,6 +6453,7 @@ public class Activity extends ContextThemeWrapper * @see #onBackgroundVisibleBehindChanged(boolean) * @hide */ @Deprecated @SystemApi public boolean isBackgroundVisibleBehind() { try { Loading @@ -6456,12 +6470,16 @@ public class Activity extends ContextThemeWrapper * This call may be a consequence of {@link #requestVisibleBehind(boolean)} or might be * due to a background activity finishing itself. * * @deprecated This method's functionality is no longer supported as of * {@link android.os.Build.VERSION_CODES#O} and will be removed in a future release. * * @param visible true if a background activity is visible, false otherwise. * * @see #requestVisibleBehind(boolean) * @see #onVisibleBehindCanceled() * @hide */ @Deprecated @SystemApi public void onBackgroundVisibleBehindChanged(boolean visible) { } Loading
core/java/android/app/ActivityManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -852,7 +852,11 @@ public class ActivityManager { /** * Returns true if activities contained in this stack can request visible behind by * calling {@link Activity#requestVisibleBehind}. * * @deprecated This method's functionality is no longer supported as of * {@link android.os.Build.VERSION_CODES#O} and will be removed in a future release. */ @Deprecated public static boolean activitiesCanRequestVisibleBehind(int stackId) { return stackId == FULLSCREEN_WORKSPACE_STACK_ID || stackId == ASSISTANT_STACK_ID; Loading