summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChao Yan2018-07-24 18:15:41 -0500
committerandroid-build-merger2018-07-24 18:15:41 -0500
commitb24e47e294bb379a8d842eff2b4305549993aaf3 (patch)
tree380ecc0fda4526c1673d50a01b583aecfe7d3996
parent5d972bc1569562c5f5f15b0753f0bb6b8e6319b7 (diff)
parenta4673b6b5ccbdb09fc65d316497ab39b826fcbfa (diff)
downloadplatform-packages-services-car-b24e47e294bb379a8d842eff2b4305549993aaf3.tar.gz
platform-packages-services-car-b24e47e294bb379a8d842eff2b4305549993aaf3.tar.xz
platform-packages-services-car-b24e47e294bb379a8d842eff2b4305549993aaf3.zip
Fixed package name in mocked car service
am: a4673b6b5c Change-Id: I0b6c693946821c88dfd426a52001c6ad9bd73e64
-rw-r--r--tests/carservice_test/src/com/android/car/MockedCarTestBase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/carservice_test/src/com/android/car/MockedCarTestBase.java b/tests/carservice_test/src/com/android/car/MockedCarTestBase.java
index 3a50b45a..c63c980f 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 @@ public class MockedCarTestBase {
173 protected MockContext getCarServiceContext() throws NameNotFoundException { 173 protected MockContext getCarServiceContext() throws NameNotFoundException {
174 if (mMockContext == null) { 174 if (mMockContext == null) {
175 mMockContext = new MockContext(getContext() 175 mMockContext = new MockContext(getContext()
176 .createPackageContext("com.android.car", Context.CONTEXT_IGNORE_SECURITY)); 176 .createPackageContext("com.android.car.test", Context.CONTEXT_IGNORE_SECURITY));
177 } 177 }
178 return mMockContext; 178 return mMockContext;
179 } 179 }