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

Commit a735b9ae authored by Jeff Pu's avatar Jeff Pu Committed by Android (Google) Code Review
Browse files

Merge "Logging when virtual hal is used" into main

parents edf588d3 2ca98432
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -722,6 +722,7 @@ public class FaceService extends SystemService {
            if (Flags.faceVhalFeature() && Utils.isVirtualEnabled(getContext())) {
                if (virtualAt != -1) {
                    //only virtual instance should be returned
                    Slog.i(TAG, "virtual hal is used");
                    return new Pair(new ArrayList<>(), List.of(aidlInstances.get(virtualAt)));
                } else {
                    Slog.e(TAG, "Could not find virtual interface while it is enabled");
+1 −0
Original line number Diff line number Diff line
@@ -1057,6 +1057,7 @@ public class FingerprintService extends SystemService {
        if (Utils.isVirtualEnabled(getContext())) {
            if (virtualAt != -1) {
                //only virtual instance should be returned
                Slog.i(TAG, "virtual hal is used");
                return new Pair(new ArrayList<>(), List.of(aidlInstances.get(virtualAt)));
            } else {
                Slog.e(TAG, "Could not find virtual interface while it is enabled");