Fixing some missing swipecancelled events

Updating NavBarPosition to expose more constructor and getters

Flag: com.android.launcher3.use_activity_overlay
Test: atest SwipeTransitionTest
Bug: 340432854
Change-Id: I86193fa26c0337d50e366cecb2d7debf37940fe1
This commit is contained in:
Sunny Goyal
2024-05-23 16:09:45 -07:00
parent 59fd8cbfaf
commit 97ceed42e6
10 changed files with 57 additions and 64 deletions
+1 -1
View File
@@ -2402,7 +2402,7 @@ public class DeviceProfile {
mTransposeLayoutWithOrientation = !mInfo.isTablet(mWindowBounds);
}
if (mIsGestureMode == null) {
mIsGestureMode = mInfo.navigationMode.hasGestures;
mIsGestureMode = mInfo.getNavigationMode().hasGestures;
}
if (mDotRendererCache == null) {
mDotRendererCache = new SparseArray<>();