commit | a4673b6b5ccbdb09fc65d316497ab39b826fcbfa | [log] [tgz] |
---|---|---|
author | Chao Yan <aceyansf@google.com> | Tue Jul 24 12:28:31 2018 -0700 |
committer | Chao Yan <aceyansf@google.com> | Tue Jul 24 12:29:32 2018 -0700 |
tree | a2ffd7b98c5be3dd85608396ae80aeadcf783957 | |
parent | f6c62c1d01d56eecd46e894550b5e1fbc91602e6 [diff] |
Fixed package name in mocked car service Bug: 111373478 Test: atest CarServiceTest Change-Id: I4a98ca4411f5caa4925acffc7d3630284c7471dd
diff --git a/tests/carservice_test/src/com/android/car/MockedCarTestBase.java b/tests/carservice_test/src/com/android/car/MockedCarTestBase.java index 3a50b45..c63c980 100644 --- a/tests/carservice_test/src/com/android/car/MockedCarTestBase.java +++ b/tests/carservice_test/src/com/android/car/MockedCarTestBase.java
@@ -173,7 +173,7 @@ protected MockContext getCarServiceContext() throws NameNotFoundException { if (mMockContext == null) { mMockContext = new MockContext(getContext() - .createPackageContext("com.android.car", Context.CONTEXT_IGNORE_SECURITY)); + .createPackageContext("com.android.car.test", Context.CONTEXT_IGNORE_SECURITY)); } return mMockContext; }