commit | 75d8c0b8bc28f61658c62b870ae8705e0be191cb | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Thu Sep 04 15:07:18 2014 -0700 |
committer | Nick Kralevich <nnk@google.com> | Thu Sep 04 15:07:18 2014 -0700 |
tree | eee16c54e985c4d5d47ac819048cf5db010486de | |
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