Loading packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java +2 −2 Original line number Diff line number Diff line Loading @@ -115,8 +115,8 @@ public class RecentsConfiguration { // Recompute some values based on the given state, since we can not rely on the resource // system to get certain values. boolean isLandscape = windowRect.width() > windowRect.height(); hasTransposedNavBar = isLandscape && isLargeScreen && !isXLargeScreen; hasTransposedSearchBar = isLandscape && isLargeScreen && !isXLargeScreen; hasTransposedNavBar = isLandscape && !isXLargeScreen; hasTransposedSearchBar = isLandscape && !isXLargeScreen; } /** Loading packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java +1 −1 Original line number Diff line number Diff line Loading @@ -137,7 +137,7 @@ class FilteredTaskList { /** Returns the index of this task in the list of filtered tasks */ int indexOf(Task t) { if (mTaskIndices.containsKey(t.key)) { if (t != null && mTaskIndices.containsKey(t.key)) { return mTaskIndices.get(t.key); } return -1; Loading Loading
packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java +2 −2 Original line number Diff line number Diff line Loading @@ -115,8 +115,8 @@ public class RecentsConfiguration { // Recompute some values based on the given state, since we can not rely on the resource // system to get certain values. boolean isLandscape = windowRect.width() > windowRect.height(); hasTransposedNavBar = isLandscape && isLargeScreen && !isXLargeScreen; hasTransposedSearchBar = isLandscape && isLargeScreen && !isXLargeScreen; hasTransposedNavBar = isLandscape && !isXLargeScreen; hasTransposedSearchBar = isLandscape && !isXLargeScreen; } /** Loading
packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java +1 −1 Original line number Diff line number Diff line Loading @@ -137,7 +137,7 @@ class FilteredTaskList { /** Returns the index of this task in the list of filtered tasks */ int indexOf(Task t) { if (mTaskIndices.containsKey(t.key)) { if (t != null && mTaskIndices.containsKey(t.key)) { return mTaskIndices.get(t.key); } return -1; Loading