DescriptionWork around a location-related crash on OnePlus2 devices.
On OnePlus2 Lollipop devices, the network location provider incorrectly
requires the FINE_LOCATION permission, instead of just the
COARSE_LOCATION permission. Those devices also allow users to disable
location on a per-app basis, which leads to crashes when users disable
fine location for Chrome, but not coarse location. This CL avoids a
crash by checking both permissions on pre-M devices.
BUG=580733
Committed: https://crrev.com/c13ab13e3dccb32be5a376b237a81ed326e158c0
Cr-Commit-Position: refs/heads/master@{#371409}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|