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

Commit 2ca98432 authored by Jeff Pu's avatar Jeff Pu
Browse files

Logging when virtual hal is used

Bug: 312941676
Test: atest PlatformScenarioTests:BiometricPromptAuthSuccessTest
Change-Id: Ife2afc44526df87cd1c301c717ae287d07cacc74
parent dd6b456a
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");