commit | b3b8059bfb9eb25b5c72106efbb4d8c5d6bcfcac | [log] [tgz] |
---|---|---|
author | Alex Chau <alexchau@google.com> | Wed Apr 21 21:46:35 2021 +0100 |
committer | Alex Chau <alexchau@google.com> | Thu Apr 22 11:41:41 2021 +0100 |
tree | dbe3c90d24bc619cfc5b356a6604d5faef09d665 | |
parent | 3ee18bf5105a774c9e55ae4483dc2e9f0bb7dc2d [diff] |
Only return true in getPageScrolls if it actually changes - This fixes unwanted setCurrentPage in PagedView.onLayout which is based on whether getPageScrolls return true, which cause RecentsView to scroll unnecessarily Fixes: 186092823 Test: Manual Change-Id: Ifa5d3b2918cc1876ac15834ce72b88ffc377f114