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

Commit 99b254be authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Clean up @hide usages in cts tests"

parents 213d919f c5420ea3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -46190,6 +46190,7 @@ package android.view {
    method public void setFocusable(int);
    method public void setFocusableInTouchMode(boolean);
    method public void setFocusedByDefault(boolean);
    method public final void setFocusedInCluster();
    method public void setForeground(android.graphics.drawable.Drawable);
    method public void setForegroundGravity(int);
    method public void setForegroundTintList(android.content.res.ColorStateList);
+1 −0
Original line number Diff line number Diff line
@@ -10180,6 +10180,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     *
     * @hide
     */
    @TestApi
    public final void setFocusedInCluster() {
        setFocusedInCluster(findKeyboardNavigationCluster());
    }
+1 −5
Original line number Diff line number Diff line
@@ -28,7 +28,6 @@ import static android.view.WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY;
import android.Manifest;
import android.animation.LayoutTransition;
import android.annotation.NonNull;
import android.annotation.TestApi;
import android.app.ActivityManager;
import android.app.ActivityThread;
import android.app.ResourcesManager;
@@ -214,11 +213,8 @@ public final class ViewRootImpl implements ViewParent,

    /**
     * Always assign focus if a focusable View is available.
     *
     * @hide
     */
    @TestApi
    public static boolean sAlwaysAssignFocus;
    private static boolean sAlwaysAssignFocus;

    /**
     * This list must only be modified by the main thread, so a lock is only needed when changing