Exclude home and recents activity types when overriding recents-excluded tasks
These tasks could point to overview itself, causing a very confusing screenshot. By excluding these tasks, we will default to using the task preview Flag: NONE bug fix Fixes: 336334715 Test: used circle to search from home, swiped to home, then pressed "select" overview action button. also checked temp logs Change-Id: I0b0ca50585413b479e4830f06b57b8b5e19670a8
This commit is contained in:
1 parent
5a4b813d38
commit
3eb4efac95
2 files changed
+5
-3
No files matched your search
@@ -1174,7 +1174,7 @@ public class TouchInteractionService extends Service {
|
||||
// running activity as the task behind the overlay.
|
||||
TopTaskTracker.CachedTaskInfo otherVisibleTask = runningTask == null
|
||||
? null
|
||||
: runningTask.otherVisibleTaskThisIsExcludedOver();
|
||||
: runningTask.getVisibleNonExcludedTask();
|
||||
if (otherVisibleTask != null) {
|
||||
ActiveGestureLog.INSTANCE.addLog(new CompoundString("Changing active task to ")
|
||||
.append(otherVisibleTask.getPackageName())
|
||||
|
||||
Reference in new issue
Block a user