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

Commit f99eb172 authored by Evan Rosky's avatar Evan Rosky Committed by android-build-merger
Browse files

Merge "Expose initial focus feature flag for testing" into oc-dev

am: 7ac3fb22

Change-Id: I615222fa4f1ee33c977daf771a15495e7771d2ca
parents c8d77159 7ac3fb22
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ 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;
@@ -210,8 +211,11 @@ public final class ViewRootImpl implements ViewParent,

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

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