OSDN Git Service

Qualify the uid with the userId when granting permissions
authorAmith Yamasani <yamasani@google.com>
Wed, 8 Jul 2015 22:57:24 +0000 (15:57 -0700)
committerAmith Yamasani <yamasani@google.com>
Wed, 8 Jul 2015 22:57:24 +0000 (15:57 -0700)
commit6b53c162102e2a4b3d745fcceb1224cc94860b64
tree6c4ae3093ad25dc199845bf565345358d8283086
parent4f5630e51d03980e80fde93154f5a0302c8179a2
Qualify the uid with the userId when granting permissions

Calls to remountUid() for secondary users was not using the
correct uid. This would prevent providing the required
storage permissions to default apps.

Discovered when investigating bug: 22356546

Change-Id: I98c8f6da724e46331c1c90b95969ca0871ef4fe9
services/core/java/com/android/server/pm/PackageManagerService.java