From 85cec0f1a3b735bbe9ff902f18cefd4f6a07724c Mon Sep 17 00:00:00 2001 From: Shawn Willden Date: Mon, 6 Apr 2015 11:50:04 -0600 Subject: Start authenticator numbering from 1, instead of 2. Change-Id: I44d94fd597ae7dec5199388b9ab0bd952cf831c3 --- include/hardware/hw_auth_token.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/hardware/hw_auth_token.h') diff --git a/include/hardware/hw_auth_token.h b/include/hardware/hw_auth_token.h index 154c1fd..2235fd8 100644 --- a/include/hardware/hw_auth_token.h +++ b/include/hardware/hw_auth_token.h @@ -25,8 +25,8 @@ extern "C" { typedef enum { HW_AUTH_NONE = 0, - HW_AUTH_PASSWORD = 1 << 1, - HW_AUTH_FINGERPRINT = 1 << 2, + HW_AUTH_PASSWORD = 1 << 0, + HW_AUTH_FINGERPRINT = 1 << 1, // Additional entries should be powers of 2. HW_AUTH_ANY = UINT32_MAX, } hw_authenticator_type_t; -- cgit v1.1