diff --git a/device-lynx.mk b/device-lynx.mk index 1e0a391..39eb5a9 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -47,6 +47,10 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ device/google/lynx/media_profiles_lynx.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml +# Display Config +PRODUCT_COPY_FILES += \ + device/google/lynx/lynx/display_colordata_dev_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_dev_cal0.pb + # NFC PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ @@ -165,3 +169,12 @@ PRODUCT_PROPERTY_OVERRIDES += \ # Set zram size PRODUCT_VENDOR_PROPERTIES += \ vendor.zram.size=3g + +# Set support hide display cutout feature +PRODUCT_PRODUCT_PROPERTIES += \ + ro.support_hide_display_cutout=true + +# Hide cutout overlays +PRODUCT_PACKAGES += \ + NoCutoutOverlay \ + AvoidAppsInCutoutOverlay diff --git a/gps.xml.l10 b/gps.xml.l10 index a6bbcfc..d8d896f 100644 --- a/gps.xml.l10 +++ b/gps.xml.l10 @@ -49,8 +49,6 @@ CpLppGuardTimeSec="1" IgnoreInjectedSystemTime="true" - AttributionAppPkgName="com.google.android.carrierlocation" - AssertEnabled="true" CpLppeCancelDbhOnAgnssProvideLoc="true" CpLppeUseAgnssLocForEmptyDbh="true" diff --git a/gps_user.xml.l10 b/gps_user.xml.l10 index 686d7dd..caf5bd5 100644 --- a/gps_user.xml.l10 +++ b/gps_user.xml.l10 @@ -48,8 +48,6 @@ CpLppGuardTimeSec="1" IgnoreInjectedSystemTime="true" - AttributionAppPkgName="com.google.android.carrierlocation" - AssertEnabled="false" CpLppeCancelDbhOnAgnssProvideLoc="true" CpLppeUseAgnssLocForEmptyDbh="true" diff --git a/lynx/display_colordata_dev_cal0.pb b/lynx/display_colordata_dev_cal0.pb new file mode 100644 index 0000000..e0e8417 Binary files /dev/null and b/lynx/display_colordata_dev_cal0.pb differ