Skip to content

Commit

Permalink
Update AppmgrViewModel.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mujianwu committed Oct 29, 2024
1 parent 53142ec commit 97030e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UotanToolbox/Features/Appmgr/AppmgrViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ await Dispatcher.UIThread.InvokeAsync(() =>
string combinedOutput = await CallExternalProgram.ADB($"-s {Global.thisdevice} shell dumpsys package {packageName}");
string[] splitOutput = combinedOutput.Split('\n', ' ');
string otherInfo = GetVersionName(splitOutput) + " | " + GetInstalledDate(splitOutput) + " | " + GetSdkVersion(splitOutput);
return new ApplicationInfo { Name = packageName, DisplayName = displayName, OtherInfo = otherInfo };
return new ApplicationInfo { Name = packageName, DisplayName = StringHelper.RemoveLineFeed(displayName), OtherInfo = otherInfo };
});
allApplicationInfos = await Task.WhenAll(applicationInfosTasks);
applicationInfos = allApplicationInfos.Where(info => info != null)
Expand Down

0 comments on commit 97030e7

Please sign in to comment.