summaryrefslogtreecommitdiffstats
path: root/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2019-07-23 20:54:13 -0700
committerWinson Chung <winsonc@google.com>2019-07-23 20:54:13 -0700
commit3fc9a1cf695d6d561953e53e159ed786e193c48d (patch)
tree3a0e35d751a94716de0020fa4fa2d67434ed753a /quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java
parent5841e40a95b2d01386d83b83abeef9b150d833c5 (diff)
parent7b0520afe48b511ed910de1048405185712e5b03 (diff)
downloadandroid_packages_apps_Trebuchet-3fc9a1cf695d6d561953e53e159ed786e193c48d.tar.gz
android_packages_apps_Trebuchet-3fc9a1cf695d6d561953e53e159ed786e193c48d.tar.bz2
android_packages_apps_Trebuchet-3fc9a1cf695d6d561953e53e159ed786e193c48d.zip
Merging ub-launcher3-qt-r1-dev, build 5749827
Test: Manual Bug:136282913 P1 Swipe up from Assistant Fulfillment Card Jank Bug:137129923 P1 Pixel launcher is leaking memory Bug:137161198 P1 Unable to pull notification panel down with a swipe on home screen Bug:137253043 P1 "Pixel Launcher keeps stopping" when scrolling through recent apps Bug:137487381 P1 Overview goes back to fullscreen when swiping up during transition Bug:137836033 P4 Fail to stop music due to "Swipe failed to receive an event for the swipe end" Bug:138152531 P2 [Android Q][04713598] Launcher test cases are failed Bug:138236583 P1 Icon scale is wrong when dragging from all apps or folders Bug:138251824 P1 Flake: want to switch from background to overview; Swipe failed to receive an event for the swipe end Bug:138252347 P1 qt-r1-dev Pixel Launcher flag ENABLE_HINTS_IN_OVERVIEW is Disable by Default Change-Id: Idd0e987d26e1ffc75cdb9f90e9c08c26bb8c6503
Diffstat (limited to 'quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java')
-rw-r--r--quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java
index d55a52044..7f1e8980b 100644
--- a/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java
+++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/views/TaskThumbnailView.java
@@ -410,4 +410,11 @@ public class TaskThumbnailView extends View {
return new ColorMatrixColorFilter(COLOR_MATRIX);
}
+
+ public Bitmap getThumbnail() {
+ if (mThumbnailData == null) {
+ return null;
+ }
+ return mThumbnailData.thumbnail;
+ }
}