Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ExposureNotification] Fix crash on Nearby GetStatusAsync method #1231

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ public async Task<IList<ExposureWindow>> GetExposureWindowsAsync(string token)
public async Task<PackageConfiguration> GetPackageConfigurationAsync()
=> await NativeGetPackageConfiguration().CastTask<PackageConfiguration>();

public async Task<ExposureNotificationStatus> GetStatusAsync()
=> await NativeGetStatus().CastTask<ExposureNotificationStatus>();
public async Task<ICollection<ExposureNotificationStatus>> GetStatusAsync()
=> await NativeGetStatus().CastTask<JavaCollection<ExposureNotificationStatus>>();
}

internal static class GoogleTaskExtensions
Expand Down