Fix AvatarPicker not responding on large image
The AvatarPicker was not responding for selecting large images from photos because it was decoding the bitmap, however for crop image it does not need to decode bitmap.
Instead ContentResolver input and output streams were used to copy the selected file from the selected source to the temporary edit file.
We have also added a flag to guard this change in case it causes any problems.
Change-Id: I069a9167a3fac03628293c2070e2c9bf6716a9e1
Flag: android.multiuser.fix_avatar_picker_not_responding_for_new_user
Test: Manual
Bug: 358407488
1 file changed