diff options
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/src/android/test/mock/MockContext.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test-runner/src/android/test/mock/MockContext.java b/test-runner/src/android/test/mock/MockContext.java index 36f2c14..02d0b45 100644 --- a/test-runner/src/android/test/mock/MockContext.java +++ b/test-runner/src/android/test/mock/MockContext.java @@ -38,6 +38,7 @@ import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.os.Looper; +import android.os.UserHandle; import java.io.File; import java.io.FileInputStream; @@ -304,12 +305,12 @@ public class MockContext extends Context { } @Override - public void sendBroadcastToUser(Intent intent, int userId) { + public void sendBroadcastAsUser(Intent intent, UserHandle user) { throw new UnsupportedOperationException(); } @Override - public void sendOrderedBroadcastToUser(Intent intent, int userId, + public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) { throw new UnsupportedOperationException(); |