From 6c161fa7d85b3191476d12220c94cfd974c0afa9 Mon Sep 17 00:00:00 2001
From: Jeff Sharkey <jsharkey@android.com>
Date: Tue, 24 Mar 2015 11:22:22 -0700
Subject: [PATCH] Fix bug blocking access to secondary users.

Change-Id: I97ce510b6bc705488b9bea3340a72fb5449f8134
---
 sdcard/sdcard.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c
index ea696ae4f3..599236f964 100644
--- a/sdcard/sdcard.c
+++ b/sdcard/sdcard.c
@@ -1706,7 +1706,6 @@ static int read_package_list(struct fuse *fuse) {
                 if (multiuser_get_app_id(gid) == fuse->write_gid) {
                     uid_t uid = multiuser_get_uid(multiuser_get_user_id(gid), appid);
                     hashmapPut(fuse->uid_with_rw, (void*) (uintptr_t) uid, (void*) (uintptr_t) 1);
-                    break;
                 }
                 token = strtok(NULL, ",");
             }
-- 
GitLab