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

Commit e99ffbc2 authored by Hall Liu's avatar Hall Liu
Browse files

Fix broken test -- testPreciseDataConnectionStateChanged

Add the override in ContextFixture for the new broadcast method being
used

Fixes: 185866394
Test: atest
Change-Id: I980e60edb5a18b7027ea019f3b4252ddc6eb8c12
parent 18a44116
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -470,6 +470,12 @@ public class ContextFixture implements TestFixture<Context> {
            sendBroadcast(intent);
        }

        @Override
        public void sendBroadcastMultiplePermissions(Intent intent,
                String[] includePermissions, String[] excludePermissions) {
            sendBroadcast(intent);
        }

        @Override
        public Context createContextAsUser(UserHandle user, int flags) {
            return this;