commit | 3695c7a64cb551c7f894104cedebec71dcebadc6 | [log] [tgz] |
---|---|---|
author | minch <minch@google.com> | Tue Dec 03 22:48:39 2024 +0000 |
committer | minch <minch@google.com> | Wed Dec 11 23:44:16 2024 +0000 |
tree | fdcc85b93fb7b90952df46e30d2261bac85ea4cc | |
parent | 37ed08215d324434d04718c4f2835b3bc54d2ef0 [diff] |
Introduce `hasTaskViews()` to RecentsView - This function is going to replace all the call sites that compares `getTaskVieCount()` and `0`. - This is based on the fact that this count can not be a negative number. - Introduce `getLastTaskView()` to get the last TaskView inside the RecentsView. Flag: EXEMPT as no functionality changes Bug: 379942019 Test: Manual Change-Id: Iefb107d1aba61549a870f14c18e025c34b19a1b5