Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable enable
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand All @@ -14,15 +15,15 @@ public class DetectIfAppWasUninstalled : AndroidTask, ICancelableTask {
CancellationTokenSource tcs = new CancellationTokenSource ();
public override string TaskPrefix => "DIAWI";

public string AdbTarget { get; set; }
public string? AdbTarget { get; set; }

[Required]
public string PackageName { get; set; }
public string PackageName { get; set; } = "";

[Required]
public string UploadFlagFile { get; set; }
public string UploadFlagFile { get; set; } = "";

public string UserID { get; set; }
public string? UserID { get; set; }

public CancellationToken Token { get { return tcs.Token; } }
Comment on lines +26 to 28

Expand Down Expand Up @@ -57,7 +58,7 @@ public override bool RunTask()
}


async System.Threading.Tasks.Task<List<AndroidInstalledPackage>> QueryPackages (AndroidDevice device, string uploadFlagFileFullPath)
async System.Threading.Tasks.Task<List<AndroidInstalledPackage>?> QueryPackages (AndroidDevice device, string uploadFlagFileFullPath)
{
// DO NOT use the Log.XXXX methods in this method.
// Because this is running on a background thread they will
Expand Down