whyred: Adapt fingerprint HAL for sdm660

This commit is contained in:
Vasishath Kaushal 2018-06-06 21:13:23 +05:30
parent 8f5f462ede
commit 1f37c1a0ad
5 changed files with 9 additions and 6 deletions

View file

@ -274,8 +274,7 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
android.hidl.base@1.0 \
android.hidl.manager@1.0 \
android.hidl.manager@1.0-java \
android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998
android.hidl.manager@1.0-java

View file

@ -14,10 +14,10 @@
// limitations under the License.
cc_binary {
name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998",
name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660",
relative_install_path: "hw",
defaults: ["hidl_defaults"],
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998.rc"],
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc"],
srcs: ["service.cpp", "BiometricsFingerprint.cpp"],
shared_libs: [
"libbase",

View file

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998"
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660"
#include <hardware/hw_auth_token.h>

View file

@ -1,4 +1,4 @@
service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998
service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660
class late_start
user system
group system input

View file

@ -123,3 +123,7 @@ PRODUCT_PACKAGES += \
#Tether
PRODUCT_PACKAGES += \
android.hardware.tetheroffload.control@1.0
#Fingerprint
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660