srs: use SOCKET_ABSTRACT to fix ICS permissions
authorAlexander Tarasikov <alexander.tarasikov@gmail.com>
Sun, 8 Jul 2012 19:52:34 +0000 (23:52 +0400)
committerAlexander Tarasikov <alexander.tarasikov@gmail.com>
Sun, 8 Jul 2012 19:52:34 +0000 (23:52 +0400)
srs.c

diff --git a/srs.c b/srs.c
index def0fc4..3b4e26b 100644 (file)
--- a/srs.c
+++ b/srs.c
@@ -169,7 +169,7 @@ int srs_server_open(struct srs_server *srs_server)
 
        while(t < 5) {
                unlink(SRS_SOCKET_NAME);
-               server_fd = socket_local_server(SRS_SOCKET_NAME, ANDROID_SOCKET_NAMESPACE_RESERVED, SOCK_STREAM);
+               server_fd = socket_local_server(SRS_SOCKET_NAME, ANDROID_SOCKET_NAMESPACE_ABSTRACT, SOCK_STREAM);
 
                if(server_fd > 0)
                        break;