Merge "Add ID to secondaryOrientationHandle for tests" into rvc-qpr-dev am: fa6f9cb63c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12141983

Change-Id: I64eccfa04327ca2113b57e28761dac919f86815e
This commit is contained in:
TreeHugger Robot
2020-07-13 22:03:46 +00:00
committed by Automerger Merge Worker
2 changed files with 3 additions and 0 deletions

View File

@@ -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"/>

View File

@@ -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,