Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58d256e4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Ensure polling loop filters are upper case when adding to the map." into main

parents 97cb91ed 9e7415fe
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -817,7 +817,7 @@ public final class ApduServiceInfo implements Parcelable {
        if (!mOnHost && !autoTransact) {
            return;
        }
        mAutoTransact.put(pollingLoopFilter, autoTransact);
        mAutoTransact.put(pollingLoopFilter.toUpperCase(Locale.ROOT), autoTransact);
    }

    /**
@@ -845,7 +845,8 @@ public final class ApduServiceInfo implements Parcelable {
        if (!mOnHost && !autoTransact) {
            return;
        }
        mAutoTransactPatterns.put(Pattern.compile(pollingLoopPatternFilter), autoTransact);
        mAutoTransactPatterns.put(Pattern.compile(
                pollingLoopPatternFilter.toUpperCase(Locale.ROOT)), autoTransact);
    }

    /**