diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-12-27 23:30:24 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2018-01-02 20:47:45 +0000 |
commit | 844e0e4aec3285ec5cfde90422acd796bc4d7d39 (patch) | |
tree | 147cd7e92bd7a4b05be21cc5aa948a3df95b2ff1 /dist | |
parent | 7508f02176f317db50f20985205bf64af8134ab6 (diff) |
Apple platforms: properly guard API access when requesting location info
requestAlwaysAuthorization and requestWhenInUseAuthorization are
prohibited APIs on macOS, and the former is also prohibited API on tvOS.
This means they are akin to private APIs and must not be called under
any circumstances. The respondsToSelector calls are also removed as Qt
no longer supports OS versions where thee methods are not available,
and in any case such uses should be replaced with __builtin_available.
Background location updates are also now made available on watchOS 4 and
above.
Change-Id: I817d69f4ec71b96f03dda42635d675499e8908c0
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions