From edadce39685d2bed3796d244029a21f0d204c0bd Mon Sep 17 00:00:00 2001 From: Charlotte D Date: Sun, 18 Nov 2018 18:01:38 +0000 Subject: [PATCH] change xiaomi -> lenovo --- Android.mk | 2 +- BoardConfigCommon.mk | 4 ++-- README.md | 2 +- biometrics/Android.mk | 4 ++-- ...ware.biometrics.fingerprint@2.1-service.lenovo_msm8937.rc} | 2 +- biometrics/service.cpp | 2 +- doze/Android.mk | 2 +- doze/AndroidManifest.xml | 2 +- .../org/lineageos/settings/doze/BootCompletedReceiver.java | 2 +- extract-files.sh | 2 +- lineage.dependencies | 2 +- sepolicy/vendor/file_contexts | 2 +- setup-makefiles.sh | 4 ++-- update-sha1sums.py | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-) rename biometrics/{android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937.rc => android.hardware.biometrics.fingerprint@2.1-service.lenovo_msm8937.rc} (90%) diff --git a/Android.mk b/Android.mk index 4947d9e..7e1eed0 100644 --- a/Android.mk +++ b/Android.mk @@ -26,7 +26,7 @@ LOCAL_PATH := $(call my-dir) -ifneq ($(filter land santoni,$(TARGET_DEVICE)),) +ifneq ($(filter karate,$(TARGET_DEVICE)),) include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 718d12c..2dcf40d 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -15,7 +15,7 @@ # limitations under the License. # -VENDOR_PATH := device/xiaomi/msm8937-common +VENDOR_PATH := device/lenovo/msm8937-common # Bootloader TARGET_BOOTLOADER_BOARD_NAME := MSM8937 @@ -189,4 +189,4 @@ WIFI_DRIVER_FW_PATH_STA := "sta" WPA_SUPPLICANT_VERSION := VER_0_8_X # Inherit the common proprietary files --include vendor/xiaomi/msm8937-common/BoardConfigVendor.mk +-include vendor/lenovo/msm8937-common/BoardConfigVendor.mk diff --git a/README.md b/README.md index 4e58c51..c22f92f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Common device configuration for Xiaomi MSM8937 +# Common device configuration for Lenovo MSM8937 ## Copyright diff --git a/biometrics/Android.mk b/biometrics/Android.mk index 23721fe..45e4b80 100644 --- a/biometrics/Android.mk +++ b/biometrics/Android.mk @@ -1,8 +1,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) -LOCAL_MODULE := android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937 -LOCAL_INIT_RC := android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937.rc +LOCAL_MODULE := android.hardware.biometrics.fingerprint@2.1-service.lenovo_msm8937 +LOCAL_INIT_RC := android.hardware.biometrics.fingerprint@2.1-service.lenovo_msm8937.rc LOCAL_PROPRIETARY_MODULE := true LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_SRC_FILES := \ diff --git a/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937.rc b/biometrics/android.hardware.biometrics.fingerprint@2.1-service.lenovo_msm8937.rc similarity index 90% rename from biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937.rc rename to biometrics/android.hardware.biometrics.fingerprint@2.1-service.lenovo_msm8937.rc index 0dbf01a..a98d1de 100644 --- a/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937.rc +++ b/biometrics/android.hardware.biometrics.fingerprint@2.1-service.lenovo_msm8937.rc @@ -1,4 +1,4 @@ -service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937 +service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.lenovo_msm8937 # "class hal" causes a race condition on some devices due to files created # in /data. As a workaround, postpone startup until later in boot once # /data is mounted. diff --git a/biometrics/service.cpp b/biometrics/service.cpp index 8f0046c..30a0e7e 100644 --- a/biometrics/service.cpp +++ b/biometrics/service.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937" +#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.lenovo_msm8937" #include #include diff --git a/doze/Android.mk b/doze/Android.mk index a22627d..839d126 100644 --- a/doze/Android.mk +++ b/doze/Android.mk @@ -5,7 +5,7 @@ LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) -LOCAL_PACKAGE_NAME := XiaomiDoze +LOCAL_PACKAGE_NAME := LenovoDoze LOCAL_CERTIFICATE := platform LOCAL_PRIVATE_PLATFORM_APIS := true diff --git a/doze/AndroidManifest.xml b/doze/AndroidManifest.xml index 93f5a3b..1365e6a 100644 --- a/doze/AndroidManifest.xml +++ b/doze/AndroidManifest.xml @@ -42,7 +42,7 @@ + android:permission="LenovoDozeService">