Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91abb548 authored by Jack Yu's avatar Jack Yu
Browse files

Fixed the broken DcTrackerTest

bug: 25691379
Change-Id: I174579ccb26815b29092294a40c63121f685101c
parent bc773727
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -290,6 +290,10 @@ public class DcTrackerTest extends TelephonyTest {
        doReturn(mBinder).when(mServiceCache).get(anyString());
        replaceInstance(ServiceManager.class, "sCache", null, mServiceCache);

        mContextFixture.putStringArrayResource(
                com.android.internal.R.array.config_cell_retries_per_error_code,
                new String[]{"36,2"});

        mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE);

        new DcTrackerTestHandler(getClass().getSimpleName()).start();