diff options
author | Victoria Lease <violets@google.com> | 2013-02-05 11:34:13 -0800 |
---|---|---|
committer | Victoria Lease <violets@google.com> | 2013-02-05 11:34:13 -0800 |
commit | 09eeaecf7440ff63c937337bb2f50079ebbbf9a2 (patch) | |
tree | 319d427bbb894159214a1bc72e604bef8a2be44c /graphics/java/android/renderscript/RenderScript.java | |
parent | 080df3f38fc47f15ad321fff00689dcd07e1d075 (diff) |
refactor isAllowedBySettingsLocked()
This commit splits LocationManagerService.isAllowedBySettingsLocked()
into isAllowedByUserSettingsRogkei(), which takes a UID argument, and
isAllowedByCurrentUserSettingsLocked(), which does not. This removes
the need to generate synthetic UIDs with arbitrary application IDs
and makes more explicit when LocationManagerService is acting on
behalf of a caller and when it is acting on behalf of the device's
current active user.
Change-Id: I2cb8fb52687d2629848e5a4b66a4bda8f0f66fe1
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions