ag/12048551 exposed some issues running these tests with mocks.
1. Once UserDetailItemView was created from the mocked convertView, it
returned null from getResources. Fix by calling getResources through
Context instead.
2. CircleFramedDrawable needs a real bitmap to work. Using a mock ended
up in a native crash somewhere in libhwui.
Bug: 160794744
Test: atest UserDetailViewAdapterTest
Change-Id: I85a84dbd454ebb1627e4ded21e6708c7fedac11c