Inject different User IDs into biometric utils
Test: atest SettingsUnitTests Bug: 222217132 Change-Id: I7939d78817f53814d0f8fb4636231a4833fbe26a
This commit is contained in:
@@ -37,7 +37,11 @@ import com.android.settingslib.transition.SettingsTransitionHelper;
|
||||
*/
|
||||
public class BiometricNavigationUtils {
|
||||
|
||||
private final int mUserId = UserHandle.myUserId();
|
||||
private final int mUserId;
|
||||
|
||||
public BiometricNavigationUtils(int userId) {
|
||||
mUserId = userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tries to launch the Settings screen if Quiet Mode is not enabled
|
||||
|
Reference in New Issue
Block a user