commit | 9c4226f5f9d4e3f4100efe83e77e606ad4c9f1bc | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Wed Feb 20 09:31:58 2019 -0800 |
committer | Amith Yamasani <yamasani@google.com> | Wed Feb 20 10:34:02 2019 -0800 |
tree | 669d5a69c0e98369bac0729e7b6cca925f332afb | |
parent | 9b317627908fdaeb2e34a2c3167840ccc18659ae [diff] |
Use the calling uid, not app id Use the calling uid, when checking permissions, since the target app may not exist in the system user. This allows apps in the work profile to request BROADCAST_STICKY permission, for instance. Fixes: 121274063 Test: Manually test failing apps in work profile Change-Id: I326f504a482623a7db624b4d7779423c6a17e4d1