Index: src/utils/android/ashmem.cpp |
diff --git a/src/utils/android/ashmem.cpp b/src/utils/android/ashmem.cpp |
index 0e1e81669da3c4436f8caa3ec725ffb374991d3e..461c062390142fdf3ab37532816c69f41e574007 100644 |
--- a/src/utils/android/ashmem.cpp |
+++ b/src/utils/android/ashmem.cpp |
@@ -80,3 +80,8 @@ int ashmem_get_size_region(int fd) |
{ |
return ioctl(fd, ASHMEM_GET_SIZE, NULL); |
} |
+ |
+int ashmem_purge_all_caches(int fd) |
+{ |
+ return ioctl(fd, ASHMEM_PURGE_ALL_CACHES, NULL); |
+} |