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

Commit 8f742cdb authored by Haining Chen's avatar Haining Chen
Browse files

Enable the biometric verification feature by default

Test: atest BinaryTransparencyServiceTest
Test: On a flash build (with the flag value being null), manually check
      if the default value takes effective and the feature is enabled
      properly by running "m statsd_testdrive && statsd_testdrive 587"
Bug: 266484331
Change-Id: I8c9604995b838790b7efe56cdbc409dadc462921
parent 3bc34195
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -80,9 +80,9 @@ import android.util.apk.ApkSignatureVerifier;
import android.util.apk.ApkSigningBlockUtils;

import com.android.internal.annotations.VisibleForTesting;
import com.android.modules.expresslog.Histogram;
import com.android.internal.os.IBinaryTransparencyService;
import com.android.internal.util.FrameworkStatsLog;
import com.android.modules.expresslog.Histogram;
import com.android.server.pm.ApexManager;
import com.android.server.pm.pkg.AndroidPackage;
import com.android.server.pm.pkg.AndroidPackageSplit;
@@ -1391,7 +1391,7 @@ public class BinaryTransparencyService extends SystemService {
        // Check the flag to determine whether biometric property verification is enabled. It's
        // disabled by default.
        if (!DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_BIOMETRICS,
                KEY_ENABLE_BIOMETRIC_PROPERTY_VERIFICATION, false)) {
                KEY_ENABLE_BIOMETRIC_PROPERTY_VERIFICATION, true)) {
            if (DEBUG) {
                Slog.d(TAG, "Do not collect/verify biometric properties. Feature disabled by "
                        + "DeviceConfig");