commit | 72ecb4caa630b63f66505ccb202a807b1af4e294 | [log] [tgz] |
---|---|---|
author | Sharvil Nanavati <sharvil@google.com> | Wed Aug 19 11:17:31 2015 -0700 |
committer | Sharvil Nanavati <sharvil@google.com> | Wed Aug 19 11:36:47 2015 -0700 |
tree | 05114fe8fec803bb3d9bbec196f247d22392d93e | |
parent | 312e10ad5bcbb1e3d021c4798d55c40f99c7a6ef [diff] |
Make location enabled check configurable when returning scan results. Some device classes (e.g. Wear) don't allow location to be enabled but would still like to allow LE scanning to take place. This patch allows the location enabled check to be bypassed if the platform is so configured. Even if the location check is disabled, the calling app must still have one of the location permissions. Bug: 21852542 Change-Id: I206366ce262776d4668c0c42e066f0e20f5fdfeb