Grant generic sensor permission for Android WebView
This CL adds code to grant generic sensor permission for Android WebView so that the sensors needed by device motion and orientation can be obtained from the generic sensor provider. Note: This will not allow Android WebView to have access to all the sensors that the generic sensor API provides since SensorProviderImpl::GetSensor() is still guarded by features::kGenericSensorExtraClasses flag. There is no new sensors permission granted, and the sensors that are exposed on WebView by this CL are those sensors that are already available on WebView previously which are used to implement device motion/orientation events. Bug: 779443 Change-Id: I1405e54213bb07d1d781181e473fc77e89bb12ed Reviewed-on: https://chromium-review.googlesource.com/759240 Commit-Queue: Jun Cai <juncai@chromium.org> Reviewed-by:Reilly Grant <reillyg@chromium.org> Reviewed-by:
Tao Bai <michaelbai@chromium.org> Cr-Commit-Position: refs/heads/master@{#515285}
Showing
Please register or sign in to comment