Merge "Add SDK sandbox network usage to corresponding apps." into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
63db54c290
@@ -302,6 +302,7 @@ public class AppDataUsageTest {
|
||||
final Context context = RuntimeEnvironment.application;
|
||||
final int testUid = 123123;
|
||||
final AppItem appItem = new AppItem(testUid);
|
||||
appItem.addUid(testUid);
|
||||
appItem.category = AppItem.CATEGORY_APP;
|
||||
ReflectionHelpers.setField(mFragment, "mContext", context);
|
||||
ReflectionHelpers.setField(mFragment, "mAppItem", appItem);
|
||||
|
Reference in New Issue
Block a user