Recents: Fix IndexOutOfBoundsException
Use stackViews.size() instead of childCount when computing numTaskStacksToKeep. childCount can be 1 while stackViews.size() == 0 because the search bar is counted in childCount. Change-Id: I28e62c6b0d43137ab483183108ece9040b38c2da CYNGNOS-1342 (cherry picked from commit e49d5ea0)
Loading
Please register or sign in to comment