Description[Android] Move the android Device Sensors API to the UI thread.
Move the Java-implementation of Device Motion/Orientation/Light APIs
to run on the UI thread. This is to avoid a blocking call from the
IO thread to the UI thread inside DeviceSensors.java. That call can
lead to deadlock and hence is removed in this patch.
BUG=455767
Committed: https://crrev.com/c166ffe71f201a40c6e7b237f76e0b3e63b41137
Cr-Commit-Position: refs/heads/master@{#316562}
Patch Set 1 #Patch Set 2 : fix tests #
Total comments: 8
Patch Set 3 : comments #
Total comments: 4
Patch Set 4 : comments #Patch Set 5 : simplify shutdown #Messages
Total messages: 24 (9 generated)
|