diff options
| author | Steve Block <steveblock@google.com> | 2012-05-29 10:53:02 +0100 |
|---|---|---|
| committer | Steve Block <steveblock@google.com> | 2012-05-29 16:20:03 +0100 |
| commit | b56ed30666596e70b577c9b937362e246f229a11 (patch) | |
| tree | 1bbcdc321fc05f08cb5f739870fb7498d54cb053 /tests/DumpRenderTree2/src | |
| parent | 213efc48e4089075c9f4eec46f3365e016b33326 (diff) | |
| download | frameworks_base-b56ed30666596e70b577c9b937362e246f229a11.zip frameworks_base-b56ed30666596e70b577c9b937362e246f229a11.tar.gz frameworks_base-b56ed30666596e70b577c9b937362e246f229a11.tar.bz2 | |
Fix style for Geolocation mock mechanism
See I6d88d5dce5c2148812b191a5b452718bf0854aeb
Change-Id: I1179319f066664393aa5f7324df89f8057a9e922
Diffstat (limited to 'tests/DumpRenderTree2/src')
| -rw-r--r-- | tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestController.java | 10 | ||||
| -rw-r--r-- | tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java | 5 |
2 files changed, 5 insertions, 10 deletions
diff --git a/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestController.java b/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestController.java index bb3bf62..c9c35ce 100644 --- a/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestController.java +++ b/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestController.java @@ -80,20 +80,16 @@ public class LayoutTestController { quota); } - public void setMockGeolocationPosition(double latitude, - double longitude, - double accuracy) { + public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) { Log.i(LOG_TAG, "setMockGeolocationPosition(): " + "latitude=" + latitude + " longitude=" + longitude + " accuracy=" + accuracy); - mLayoutTestsExecutor.setMockGeolocationPosition(latitude, - longitude, - accuracy); + mLayoutTestsExecutor.setMockGeolocationPosition(latitude, longitude, accuracy); } public void setMockGeolocationError(int code, String message) { Log.i(LOG_TAG, "setMockGeolocationError(): " + "code=" + code + " message=" + message); mLayoutTestsExecutor.setMockGeolocationError(code, message); - } + } public void setGeolocationPermission(boolean allow) { mLayoutTestsExecutor.setGeolocationPermission(allow); diff --git a/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java b/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java index b2fbfd5..25ac700 100644 --- a/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java +++ b/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java @@ -694,9 +694,8 @@ public class LayoutTestsExecutor extends Activity { } public void setMockGeolocationPosition(double latitude, double longitude, double accuracy) { - WebViewClassic.fromWebView(mCurrentWebView).setMockGeolocationPosition(latitude, - longitude, - accuracy); + WebViewClassic.fromWebView(mCurrentWebView).setMockGeolocationPosition(latitude, longitude, + accuracy); } public void setMockGeolocationError(int code, String message) { |
