Add ID to secondaryOrientationHandle for tests
Bug: 159763136 Change-Id: I0ad91d995c79415ad8b5cf849f8fd0c24bd0fd7a
This commit is contained in:
@@ -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"/>
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user