commit | ced3b3c93afd2225b803584f700bdb1531b85810 | [log] [tgz] |
---|---|---|
author | Régis Décamps <regisd@google.com> | Mon Sep 01 11:55:44 2014 +0200 |
committer | Régis Décamps <regisd@google.com> | Tue Sep 02 19:03:03 2014 +0200 |
tree | a56b9a9fdaec600b466bd1870f1befc9be34fc7e | |
parent | 81277fe9218a3d35c61200cf64221777620db0ac [diff] |
Refactoring in ContactDrawable to pick a color. Strategy pattern to pick a color in the letter tile. Thanks to this, subimplementations can draw the letter tiles for avatars differently, and still use the all the features of the ContactDrawable. Bug: 16378212 Draw letter tile for non-Gmail avatars Change-Id: I999aa43724ba0e4dd23f2106133aaa34ee3ba008