Add scroll animation and onResume support for profile button
* Profile button should hide when scrolling down and it should re-appear
when scrolling up.
* Profile button should update if cross profile values change while
PhotoPicker session is going on.
* Remove locks from values that will be accessed by UI thread in
onClickListener. Those locks are not required as we always update the
values before accessing them. So, we are not updating them parallely,
they are always updated sequentially.
Bug: 190727775
Bug: 197742347
Test: manual (See videos attached)
Change-Id: Iabfdad271ab9cc3c51fae4ca589e751964e1947c
Merged-In: Iabfdad271ab9cc3c51fae4ca589e751964e1947c
(cherry picked from commit 1ca27fa75ce2616619f10308bd3bef5af2594492)
2 files changed