RecentsTV : Remove all Recents TV Code
This patch will remove the Recents TV Code from SystemUI.
Test: To test this removes the Recents Feature and has no
side effects, try to launch recents with long-press HOME. This
should result in launching the phone version of recents.
BUG: 36035359
Change-Id: I9026b480968575ce08e1ce344512f168fdc5fe87
diff --git a/services/core/java/com/android/server/wm/AppTransition.java b/services/core/java/com/android/server/wm/AppTransition.java
index 4eb8e02..4191d31 100644
--- a/services/core/java/com/android/server/wm/AppTransition.java
+++ b/services/core/java/com/android/server/wm/AppTransition.java
@@ -2058,15 +2058,7 @@
* @return whether the transition should show the thumbnail being scaled down.
*/
private boolean shouldScaleDownThumbnailTransition(int uiMode, int orientation) {
- return isTvUiMode(uiMode)
- || mGridLayoutRecentsEnabled
+ return mGridLayoutRecentsEnabled
|| orientation == Configuration.ORIENTATION_PORTRAIT;
}
-
- /**
- * @return whether the specified {@param uiMode} is the TV mode.
- */
- private boolean isTvUiMode(int uiMode) {
- return (uiMode & Configuration.UI_MODE_TYPE_TELEVISION) > 0;
- }
}