diff options
author | Eugene Susla <eugenesusla@google.com> | 2017-06-15 11:22:57 -0700 |
---|---|---|
committer | Eugene Susla <eugenesusla@google.com> | 2017-06-15 18:30:44 +0000 |
commit | eebd276715783df06f0e4720ccc709b59e551c59 (patch) | |
tree | d5a227a406233a84f0b6b8c0c9453d46f8b74659 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | ffd8343ba87c7cdf84287b91972b987ffc41d4fb (diff) |
Fix companion uses-permission enforcement
Fixes: b/62662686
Test: Call CompanionDeviceManager#associate from app without uses-permission
declaration
Ensure exception is thrown
Call the method from app with the declaration
Ensure no exception is thrown
In debug mode catch the #isCallerSystem call from NotificationManagerService
(which runs in the system process) and ensure it passes the check
Change-Id: I26e5d2a7f5e63a346d4ab50b9ded1ec7dbc246a5
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions