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

Commit ed71bd91 authored by Felipe Leme's avatar Felipe Leme
Browse files

Makes Activity.addDumpable() a @TestApi

Test: atest CtsAppTestCases:android.app.cts.ActivityDumpTest
Test: m update-api

Bug: 149254050
Bug: 215435293

Change-Id: I3f570e2cc107a6924bbe71dbc47e0508a3b8cb38
parent a4913850
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -103,6 +103,7 @@ package android.animation {
package android.app {

  @UiContext public class Activity extends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.view.KeyEvent.Callback android.view.LayoutInflater.Factory2 android.view.OnBackInvokedDispatcherOwner android.view.View.OnCreateContextMenuListener android.view.Window.Callback {
    method public final boolean addDumpable(@NonNull android.util.Dumpable);
    method public void onMovedToDisplay(int, android.content.res.Configuration);
  }

+1 −0
Original line number Diff line number Diff line
@@ -7098,6 +7098,7 @@ public class Activity extends ContextThemeWrapper
     * @hide
     */
    @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
    @TestApi
    public final boolean addDumpable(@NonNull Dumpable dumpable) {
        if (mDumpableContainer == null) {
            mDumpableContainer = new DumpableContainerImpl();