diff options
| author | Steve Block <steveblock@google.com> | 2011-08-03 13:57:49 +0100 |
|---|---|---|
| committer | Steve Block <steveblock@google.com> | 2012-04-12 11:08:13 +0100 |
| commit | 5ba2efeb9faaf7db9da205102b9a7f40b4b89f27 (patch) | |
| tree | 06c0f760ff61e68df911f5edf8c6289055444fef /core/java/android/webkit/DeviceMotionService.java | |
| parent | 7e6ee74ac40396746f814d57160e30543e632c9a (diff) | |
Minor clean-up in DeviceOrientation and DeviceMotion
No functional change.
See corresponding external/webkit change
https://android-git.corp.google.com/g/#change,125700
Change-Id: I2693328cb058820587ac43dd3121818959efd2d0
Diffstat (limited to 'core/java/android/webkit/DeviceMotionService.java')
| -rwxr-xr-x | core/java/android/webkit/DeviceMotionService.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/webkit/DeviceMotionService.java b/core/java/android/webkit/DeviceMotionService.java index b4d5759dcb9a..9121429206f5 100755 --- a/core/java/android/webkit/DeviceMotionService.java +++ b/core/java/android/webkit/DeviceMotionService.java @@ -153,6 +153,7 @@ final class DeviceMotionService implements SensorEventListener { * SensorEventListener implementation. * Callbacks happen on the thread on which we registered - the WebCore thread. */ + @Override public void onSensorChanged(SensorEvent event) { assert(event.values.length == 3); assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); @@ -170,6 +171,7 @@ final class DeviceMotionService implements SensorEventListener { } } + @Override public void onAccuracyChanged(Sensor sensor, int accuracy) { assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); } |
