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

Commit 1b1a3622 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[FRR] Add permission during broadcast enroll time" into main

parents 22cdf6cc f8ce49b4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.server.biometrics.sensors;

import android.Manifest;
import android.annotation.NonNull;
import android.content.Context;
import android.content.Intent;
@@ -168,6 +169,6 @@ public abstract class EnrollClient<T> extends AcquisitionClient<T> implements En
                AuthenticationStatsCollector.ACTION_LAST_ENROLL_TIME_CHANGED);
        intent.putExtra(Intent.EXTRA_USER_HANDLE, getTargetUserId());
        intent.putExtra(AuthenticationStatsCollector.EXTRA_MODALITY, modality);
        getContext().sendBroadcast(intent);
        getContext().sendBroadcast(intent, Manifest.permission.USE_BIOMETRIC_INTERNAL);
    }
}