summaryrefslogtreecommitdiff
path: root/native
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2024-04-03 21:01:09 +0000
committerDan Albert <danalbert@google.com>2024-04-03 21:01:09 +0000
commit21c4dd4de0cef873de3ac627c82a8db67fa20942 (patch)
tree81f47cd2dca321cc6b6090ac156c6e2979b7c476 /native
parent95d99a3936cebeb5c68a00d0ec3dce4e453f1e5e (diff)
downloadbase-21c4dd4de0cef873de3ac627c82a8db67fa20942.tar.gz
Adapt to changing function signature.
Bug: None Test: treehugger Change-Id: I33991523e53e6e3e70da2e7fb3c1bb56470b5b2b
Diffstat (limited to 'native')
-rw-r--r--native/android/surface_control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/android/surface_control.cpp b/native/android/surface_control.cpp
index 4b63fbf14d4c..55b5e814ee41 100644
--- a/native/android/surface_control.cpp
+++ b/native/android/surface_control.cpp
@@ -367,7 +367,7 @@ void ASurfaceTransaction_reparent(ASurfaceTransaction* aSurfaceTransaction,
void ASurfaceTransaction_setVisibility(ASurfaceTransaction* aSurfaceTransaction,
ASurfaceControl* aSurfaceControl,
- int8_t visibility) {
+ ASurfaceTransactionVisibility visibility) {
CHECK_NOT_NULL(aSurfaceTransaction);
CHECK_NOT_NULL(aSurfaceControl);
@@ -496,7 +496,7 @@ void ASurfaceTransaction_setScale(ASurfaceTransaction* aSurfaceTransaction,
void ASurfaceTransaction_setBufferTransparency(ASurfaceTransaction* aSurfaceTransaction,
ASurfaceControl* aSurfaceControl,
- int8_t transparency) {
+ ASurfaceTransactionTransparency transparency) {
CHECK_NOT_NULL(aSurfaceTransaction);
CHECK_NOT_NULL(aSurfaceControl);