Merge "Mock sourceDir for ActivityThreadClientTest" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-24 20:21:33 +00:00
committed by Android (Google) Code Review

View File

@@ -210,6 +210,7 @@ public class ActivityThreadClientTest {
info.applicationInfo = new ApplicationInfo();
info.applicationInfo.packageName = info.packageName;
info.applicationInfo.uid = UserHandle.myUserId();
info.applicationInfo.sourceDir = "/test/sourceDir";
// mock the function for preventing NPE in emulator environment. The purpose of the
// test is for activity client state changes, we don't focus on the updating for the