[PATCH 2/3] android: Add a subsurface_user_is_root for android

Anton Lundin glance at acc.umu.se
Wed Dec 28 14:22:33 PST 2016


This is to compile the desktop ui for android

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 core/android.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/core/android.cpp b/core/android.cpp
index 3631b07..ef55f08 100644
--- a/core/android.cpp
+++ b/core/android.cpp
@@ -196,4 +196,9 @@ void subsurface_console_exit(void)
 {
 	/* NOP */
 }
+
+bool subsurface_user_is_root()
+{
+	return false;
+}
 }
-- 
2.9.3



More information about the subsurface mailing list