commit | 9212de8f873e6e907438c22790d4c21f91011764 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Mon Feb 06 16:04:28 2017 -0800 |
committer | Selim Cinek <cinek@google.com> | Mon Feb 06 16:04:28 2017 -0800 |
tree | 047ec92767ae261ba3df5d1cf79b375a4f7daa36 | |
parent | 09bd29dad1ab506b9d706528e9e8136ac1d81b75 [diff] |
Moved the scrolling logic away from the onDraw Having the scrolling animation in onDraw and directly Updating the notifications there could lead to multiple issues: 1. Certain state might not be up to date since a layout Was still pending 2. The logic for drawAsSrc could lead to schmutz on the Screen since the scrim view has already drawn. Test: add notifications scroll Change-Id: Id9ae562c1e4b353d269de755f491900a6073c5d8 Fixes: 34631572