Skip to content

Commit

Permalink
Prep for HardwareRenderer signature changes in SDKs > T.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 517209071
  • Loading branch information
brettchabot authored and Copybara-Service committed Mar 16, 2023
1 parent 3f33ebb commit 732acca
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ protected static void nSetOpaque(long nativeProxy, boolean opaque) {
}

@Implementation(minSdk = S)
protected static void nSetColorMode(long nativeProxy, int colorMode) {
protected static Object nSetColorMode(long nativeProxy, int colorMode) {
HardwareRendererNatives.nSetColorMode(nativeProxy, colorMode);
return null;
}

@Implementation(minSdk = S)
Expand Down Expand Up @@ -377,7 +378,8 @@ protected static void nInitDisplayInfo(
int wideColorDataspace,
long appVsyncOffsetNanos,
long presentationDeadlineNanos,
boolean supportsFp16ForHdr) {
boolean supportsFp16ForHdr,
boolean nInitDisplayInfo) {
nInitDisplayInfo(
width,
height,
Expand Down

0 comments on commit 732acca

Please sign in to comment.