Skip to content
Commit b4751120 authored by Oli Lan's avatar Oli Lan
Browse files

Support taking or choosing a photo in avatar picker.

This adds options to take a photo or to choose a photo to
the new avatar picker.

The functionality to support both of these operations, plus
cropping, is largely the same as before but has been moved
from EditUserPhotoController to a new AvatarPhotoController.

The code from EditUserPhotoController has been moved without
changes where possible. Future CLs may introduce improvements
such as replacing AsyncTask.

The 'choose photo' has been changed from the previous behaviour,
however - it now shows the new photo picker.

Bug: 215134398
Test: manual, check new UI from settings and sysui and confirm working
Change-Id: I5d98902f3e8c186ad30d288b8eed544977ba0e48
parent f98ae93f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment