diff options
author | Alex Naidis <alex.naidis@linux.com> | 2017-01-03 18:24:57 +0100 |
---|---|---|
committer | Alex Naidis <alex.naidis@linux.com> | 2017-01-06 22:21:24 +0000 |
commit | f030a28a6be0ae25285495ee9c6da5ce4b41285d (patch) | |
tree | 39075e2a2ea6f238a6886506d2c3e085ab84f495 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ddc7ac8ba6aa1630d4930fa5a5bdf29abfd624b7 (diff) |
DefaultPermissionGrantPolicy: Pass correct arguments
After parsing the xml files in the "default-permissions"
system, we are passing the arguments in the wrong order.
The method we are targeting is:
private void grantRuntimePermissionsLPw(PackageParser.Package pkg, Set<String> permissions,
boolean systemFixed, boolean isDefaultPhoneOrSms, int userId) {
However we are passing our argument for "systemFixed"
to "isDefaultPhoneOrSms" and the other way around too.
This patch fixes it by using the version of the method
which takes 4 arguments and sets "isDefaultPhoneOrSms"
as false.
Change-Id: I3604a5d6045aadcd91b6dd3f6f1b47b561403b23
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions