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

Commit 07a34ff5 authored by Felipe Leme's avatar Felipe Leme
Browse files

Catch exception on dump() when callign ExtService.

Test: adb shell dumpsys autofill
Bug: 80422287

Change-Id: I628419cc91c1a614b2d918eca2158d3928564734
parent eafb4b87
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -282,9 +282,13 @@ final class FieldClassificationStrategy {
        }
        pw.println(impl.flattenToShortString());

        try {
            pw.print(prefix); pw.print("Available algorithms: ");
            pw.println(Arrays.toString(getAvailableAlgorithms()));
            pw.print(prefix); pw.print("Default algorithm: "); pw.println(getDefaultAlgorithm());
        } catch (Exception e) {
            pw.print("ERROR CALLING SERVICE: " ); pw.println(e);
        }
    }

    private static interface Command {