commit | 6020e7aa6f965fd55e00de9012ec53fdaacad4d6 | [log] [tgz] |
---|---|---|
author | Tetiana Meronyk <tetianameronyk@google.com> | Wed Aug 02 17:32:11 2023 +0000 |
committer | Tetiana Meronyk <tetianameronyk@google.com> | Thu Aug 03 11:20:55 2023 +0000 |
tree | 2d19188997566cc040f918275af2a2d3047882a3 | |
parent | a67d6585491e3c24cff989e1e817afc11bf04182 [diff] |
Restore user picture in add user dialog on rotation Picture was being cached in OnSaveInstanceState method in background thread. It finished saving after the restoration was happening in OnRestoreInstanceState and therefore the picture could not be retrieved. Picture is now saved straight after choosing and retrieved when dialog gets created. Bug: 293435121 Test: atest CreateUserDialogControllerTest Change-Id: Ic3aa22d19732c5480075cea613070e0de19ad73e