device_xiaomi_sweet/display/Android.bp
daniml3 d934151ef3 sweet: override the SetRefreshRate HWC builtin display function
* This function causes the refresh rate to change randomly, and
  produces flickering on the display

* Override the original function by renaming the symbol so linker
  uses the symbol from the shim instead of the original library's
  symbol

Signed-off-by: daniml3 <daniel@danielml.dev>
Change-Id: I2fa6b3f834df79c32d22f5a057da2108cc9cacab
2022-04-13 11:38:43 -04:00

9 lines
154 B
Plaintext

cc_library_shared {
name: "libsdmcore-shim",
srcs: [
"display_builtin.cpp"
],
required: ["libsdmcore-patch"],
vendor: true,
}