diff --git a/README.md b/README.md index 3cf6d7f3..1a763e45 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ $(call inherit-product-if-exists, vendor/google/pixel-additional/config.mk) This repo also includes several additional GApps packages, such as * `TARGET_INCLUDE_CAMERA_GO`: Camera from Google (Formerly, Camera Go or GCam Go) * `TARGET_SUPPORTS_LILY_EXPERIENCE`: Enabling Android (Go Edition) device specific features -* `TARGET_NOT_SUPPORTS_GOOGLE_BATTERY`: Build TurboAdapter with dummy GoogleBatteryService +* `TARGET_SUPPORTS_GOOGLE_BATTERY`: Build TurboAdapter with dummy GoogleBatteryService wheh flag is false * `TARGET_GBOARD_KEY_HEIGHT`: Resize GBoard ime key height to `TARGET_GBOARD_KEY_HEIGHT` (Must be float. e.g. 1.2) ## Credits diff --git a/products/gms.mk b/products/gms.mk index ccc461ea..833ef9a4 100644 --- a/products/gms.mk +++ b/products/gms.mk @@ -37,7 +37,7 @@ endif ifneq ($(WITH_GMS),false) # Include TurboAdapter without Google Battery support -ifeq ($(TARGET_NOT_SUPPORTS_GOOGLE_BATTERY),true) +ifeq ($(TARGET_SUPPORTS_GOOGLE_BATTERY),false) PRODUCT_PACKAGES += \ TurboAdapter_NoBatt @@ -46,7 +46,7 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ LibPowerStatsSymLink_NoBatt -endif +endif #TARGET_SUPPORTS_GOOGLE_BATTERY # Resize GBoard ime key height to TARGET_GBOARD_KEY_HEIGHT # Value must be float e.g. 1.2 diff --git a/products/gms/LibPowerStatsSymLink_NoBatt/Android.mk b/products/gms/LibPowerStatsSymLink_NoBatt/Android.mk index 59d13060..8494ff27 100644 --- a/products/gms/LibPowerStatsSymLink_NoBatt/Android.mk +++ b/products/gms/LibPowerStatsSymLink_NoBatt/Android.mk @@ -10,7 +10,7 @@ LOCAL_UNINSTALLABLE_MODULE := true LOCAL_CERTIFICATE := PRESIGNED LOCAL_SRC_FILES := /dev/null -ifeq ($(TARGET_NOT_SUPPORTS_GOOGLE_BATTERY),true) +ifeq ($(TARGET_SUPPORTS_GOOGLE_BATTERY),false) LIBPOWERSTATS_SYMLINK := $(TARGET_OUT_SYSTEM_EXT)/priv-app/TurboAdapter_NoBatt/lib/arm64/libpowerstatshaldataprovider.so $(LIBPOWERSTATS_SYMLINK): $(LOCAL_INSTALLED_MODULE) @echo "libpowerstatshaldataprovider link: $@"