Loading core/tests/mockingcoretests/src/android/app/activity/ActivityThreadClientTest.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -210,6 +210,7 @@ public class ActivityThreadClientTest { info.applicationInfo = new ApplicationInfo(); info.applicationInfo = new ApplicationInfo(); info.applicationInfo.packageName = info.packageName; info.applicationInfo.packageName = info.packageName; info.applicationInfo.uid = UserHandle.myUserId(); info.applicationInfo.uid = UserHandle.myUserId(); info.applicationInfo.sourceDir = "/test/sourceDir"; // mock the function for preventing NPE in emulator environment. The purpose of the // 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 // test is for activity client state changes, we don't focus on the updating for the Loading Loading
core/tests/mockingcoretests/src/android/app/activity/ActivityThreadClientTest.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -210,6 +210,7 @@ public class ActivityThreadClientTest { info.applicationInfo = new ApplicationInfo(); info.applicationInfo = new ApplicationInfo(); info.applicationInfo.packageName = info.packageName; info.applicationInfo.packageName = info.packageName; info.applicationInfo.uid = UserHandle.myUserId(); info.applicationInfo.uid = UserHandle.myUserId(); info.applicationInfo.sourceDir = "/test/sourceDir"; // mock the function for preventing NPE in emulator environment. The purpose of the // 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 // test is for activity client state changes, we don't focus on the updating for the Loading