Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c714db4 authored by Manu Cornet's avatar Manu Cornet
Browse files

Allow fallthrough taps on Recents background to go Home

In some cases the recents view isn't entirely occupied by task views.
Taps on the empty space should take the user home, which was mostly
supported except for this small missing part.

Bug: 32101881
Test: Locally on Ryu device.
Change-Id: I264202397f7408608aa444a421765715fb1e74ba
parent 37131514
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -302,6 +302,9 @@ public class RecentsGridActivity extends Activity implements ViewTreeObserver.On
            dismissRecentsToLaunchTargetTaskOrHome();
        } else if (event.triggeredFromHomeKey) {
            dismissRecentsToHome();
        } else {
            // Fall through tap on the background view but not on any of the tasks.
            dismissRecentsToHome();
        }
    }