aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/src/com
diff options
context:
space:
mode:
authorJohn Patterson <jdp@google.com>2021-01-14 10:46:25 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-01-14 10:46:25 +0000
commitf69993c0a8853a3cd41ff0ccd547264cb9fa6011 (patch)
treecbceec40a23f851b84d121304c23db95ed2a8545 /tests/ui/src/com
parent8c2e10df235161df74cf89041b8c655c05c14f61 (diff)
parent238013edb2187750d9e70f2d7a4f55c01a742498 (diff)
downloadCalendar-f69993c0a8853a3cd41ff0ccd547264cb9fa6011.tar.gz
Unbundle the Car Calendar App. am: 6a802e5805 am: 238013edb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/Calendar/+/13323725 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Idded7d2c6d8554ed77d92722d8096822c6978f6f
Diffstat (limited to 'tests/ui/src/com')
-rw-r--r--tests/ui/src/com/android/car/calendar/CarCalendarUiTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/src/com/android/car/calendar/CarCalendarUiTest.java b/tests/ui/src/com/android/car/calendar/CarCalendarUiTest.java
index d3992f6..e591a80 100644
--- a/tests/ui/src/com/android/car/calendar/CarCalendarUiTest.java
+++ b/tests/ui/src/com/android/car/calendar/CarCalendarUiTest.java
@@ -35,6 +35,7 @@ import android.net.Uri;
import android.os.Bundle;
import android.os.CancellationSignal;
import android.provider.CalendarContract;
+import android.telephony.TelephonyManager;
import android.test.mock.MockContentProvider;
import android.test.mock.MockContentResolver;
@@ -128,7 +129,8 @@ public class CarCalendarUiTest {
new TestCalendarContentProvider(context);
mockContentResolver.addProvider(CalendarContract.AUTHORITY, testCalendarContentProvider);
activity.mDependencies =
- new CarCalendarActivity.Dependencies(LOCALE, fixedTimeClock, mockContentResolver);
+ new CarCalendarActivity.Dependencies(LOCALE, fixedTimeClock, mockContentResolver,
+ activity.getSystemService(TelephonyManager.class));
}
private void observeEventsLiveData(CarCalendarActivity activity) {