commit | 40428978557d2c2efd79d14d120df6669f9aefcc | [log] [tgz] |
---|---|---|
author | Arthur Ishiguro <arthuri@google.com> | Wed Jan 15 09:54:23 2020 -0800 |
committer | Arthur Ishiguro <arthuri@google.com> | Tue Jan 21 14:39:51 2020 -0800 |
tree | 6002f8537a36f194a999cb7d7be2a951a2398d6e | |
parent | 78bfd35ae1b0266cff5325a751880b9e1f0f72c0 [diff] |
Adds a new ACCESS_CONTEXT_HUB permission Since not all Context Hub applications are location-related, the use of the LOCATION_HARDWARE permission to control access to the Context Hub System APIs can be misleading. Create a new permission to access it, and adds the logic to enforce the permission. Also clarifies usage of PendingIntent ContextHubClient. Bug: 135951924 Test: Compile and flash Change-Id: I5f22db7e57ef4a6c3718acb38c4f313d6a04839f