summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/contacts
AgeCommit message (Collapse)Author
2018-06-26Optimize images in com.android.dialer.contacts.resources.twyen
TEST=TAP Test: TAP PiperOrigin-RevId: 202036993 Change-Id: If56cc9f19d70a8bdf06703cc2553ebb86751edbd
2018-06-26Move contacts.commons.R to dialer.contacts.resourcestwyen
This reduces dependency on contacts.common which is full of things that should not be there. Ideally resources inside dialer.contacts.resources should be individually moved to appropriate locations, but the resources are too large to work with. TEST=TAP Test: TAP PiperOrigin-RevId: 202029832 Change-Id: I95bfcb59799b9c3640de03ad0680624fc1b2c3a3
2018-06-26Refactor ContactPreferencetwyen
Moving it outside contacts.commons reduces dependency to legacy code. Also removed redundant implementations such as caching SharedPreferences (it is already cached), custom ListPreferences (standard ListPreferences already have what we want), and corrected preference storage location (allow standard ListPreferences to work) TEST=TAP Test: TAP PiperOrigin-RevId: 202000393 Change-Id: I45374e610b3510784b5a4da92e5d8462cbfc92bb