Skip to content

Commit

Permalink
UIBased: filter improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorham committed Aug 18, 2023
1 parent 2005328 commit f2d6ecc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public class UiBasedCollector extends NotificationListenerService {
coOptedPackages.add("com.camdiab.fx_alert.hx.mgdl");
coOptedPackages.add("com.medtronic.diabetes.guardian");
coOptedPackages.add("com.medtronic.diabetes.guardianconnect");
coOptedPackages.add("com.medtronic.diabetes.guardianconnect.us");
coOptedPackages.add("com.medtronic.diabetes.minimedmobile.eu");
coOptedPackages.add("com.medtronic.diabetes.minimedmobile.us");

Expand Down Expand Up @@ -210,6 +211,9 @@ String filterString(final String value) {
switch (lastPackage) {
default:
return value
.replace("\u00a0"," ")
.replace("\u2060","")
.replace("\\","/")
.replace("mmol/L", "")
.replace("mmol/l", "")
.replace("mg/dL", "")
Expand Down

0 comments on commit f2d6ecc

Please sign in to comment.