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

Commit fb0b0d2c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix TestNotificationService not found"

parents 52b0b282 f6e6bd10
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.documentsui.bots;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.uiautomator.UiDevice;

import com.android.documentsui.services.TestNotificationService;
@@ -33,7 +34,8 @@ public class NotificationsBot extends Bots.BaseBot {

    public NotificationsBot(UiDevice device, Context context, int timeout) {
        super(device, context, timeout);
        mComponent = new ComponentName(context, TestNotificationService.class);
        mComponent = new ComponentName(InstrumentationRegistry.getContext(),
                TestNotificationService.class);
    }

    public void setNotificationAccess(Activity activity, boolean enabled) throws IOException {