Merge "Initialize the mContext in AMS mocking test" into rvc-dev am: aa22f3e07f
Change-Id: I68389369c52056b428af8ee00b9dbf4ed7ec6718
This commit is contained in:
@@ -151,6 +151,8 @@ public class MockingOomAdjusterTests {
|
||||
|
||||
sService.mConstants = new ActivityManagerConstants(sContext, sService,
|
||||
sContext.getMainThreadHandler());
|
||||
setFieldValue(ActivityManagerService.class, sService, "mContext",
|
||||
sContext);
|
||||
ProcessList pr = new ProcessList();
|
||||
pr.init(sService, new ActiveUids(sService, false), null);
|
||||
setFieldValue(ActivityManagerService.class, sService, "mProcessList",
|
||||
|
||||
Reference in New Issue
Block a user