Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

[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