diff options
author | Nick Kralevich <nnk@google.com> | 2014-09-04 15:07:18 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2014-09-04 15:07:18 -0700 |
commit | 75d8c0b8bc28f61658c62b870ae8705e0be191cb (patch) | |
tree | eee16c54e985c4d5d47ac819048cf5db010486de /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 191cbad91f19c14316810c806c4b0560d9386c8c (diff) |
AppWidgetServiceImpl: Use enforceCallingOrSelfPermission for checking DUMP
Use enforceCallingOrSelfPermission() for throwing a security exception
rather than creating the security exception ourselves. This has the
advantage that the exception is in a well known format expected by
the CTS test android.security.cts.ServicePermissionsTest#testDumpProtected
Bug: 17165920
Change-Id: I7d3c2d2a0852a490fe1d553cd81d1efc79d2fec3
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions