Merge "Fix a race condition where the extra view may not update timely."

This commit is contained in:
Daniel Nishi
2017-02-16 17:39:40 +00:00
committed by Android (Google) Code Review
3 changed files with 32 additions and 9 deletions

View File

@@ -66,7 +66,8 @@ public class MusicViewHolderControllerTest {
MockitoAnnotations.initMocks(this);
mContext = RuntimeEnvironment.application;
mVolume = new VolumeInfo("id", 0, null, "id");
mController = new MusicViewHolderController(mContext, mSource, mVolume.fsUuid);
mController = new MusicViewHolderController(mContext, mSource, mVolume.fsUuid,
new UserHandle(0));
LayoutInflater inflater = LayoutInflater.from(mContext);
mHolder = AppViewHolder.createOrRecycle(inflater, null);