Chromium Code Reviews
DescriptionRemove redundant static singleton for DeviceSensors
The singleton Java DeviceSensors object is owned by a singleton
SensorManagerAndroid so there is no need to maintain a reference to the
singleton in both Java and C++. This silences the lint warning about
keeping references to the Context object in a static field because now
the static field is in C++ and thus invisible to the linter.
BUG=635567
Review-Url: https://codereview.chromium.org/2860633003
Cr-Commit-Position: refs/heads/master@{#468863}
Committed: https://chromium.googlesource.com/chromium/src/+/268bd8b3738aa5e18df731c881893a797032b37b
Patch Set 1 #
Messages
Total messages: 15 (8 generated)
|
||||||||||||||||||||||||||||