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

Commit 83308950 authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Add ID to secondaryOrientationHandle for tests

Bug: 159763136

Change-Id: I0ad91d995c79415ad8b5cf849f8fd0c24bd0fd7a
parent e076abfa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -92,6 +92,8 @@

    <item type="id" name="requires_remeasuring"/>

    <item type="id" name="secondary_home_handle" />

    <!-- Whether the icon is from a notification for which targetSdk < L -->
    <item type="id" name="icon_is_pre_L"/>

+1 −0
Original line number Diff line number Diff line
@@ -591,6 +591,7 @@ public class NavigationBarFragment extends LifecycleFragment implements Callback
                .registerDisplayListener(this, new Handler(Looper.getMainLooper()));

        mOrientationHandle = new QuickswitchOrientedNavHandle(getContext());
        mOrientationHandle.setId(R.id.secondary_home_handle);

        getBarTransitions().addDarkIntensityListener(mOrientationHandleIntensityListener);
        mOrientationParams = new WindowManager.LayoutParams(0, 0,