| Index: services/sensors/org/chromium/mojo/sensors/SensorServiceImpl.java
|
| diff --git a/services/sensors/org/chromium/mojo/sensors/SensorServiceImpl.java b/services/sensors/org/chromium/mojo/sensors/SensorServiceImpl.java
|
| deleted file mode 100644
|
| index 3d76857cc47852f9a41774f5f38b5a26a11b49f7..0000000000000000000000000000000000000000
|
| --- a/services/sensors/org/chromium/mojo/sensors/SensorServiceImpl.java
|
| +++ /dev/null
|
| @@ -1,36 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -package org.chromium.mojo.sensors;
|
| -
|
| -import android.content.Context;
|
| -
|
| -import org.chromium.mojo.system.MessagePipeHandle;
|
| -import org.chromium.mojo.system.MojoException;
|
| -import org.chromium.mojom.sensors.SensorListener;
|
| -import org.chromium.mojom.sensors.SensorService;
|
| -
|
| -/**
|
| - * Android implementation of Senors.
|
| - */
|
| -public class SensorServiceImpl implements SensorService {
|
| - private Context mContext;
|
| -
|
| - public SensorServiceImpl(Context context, MessagePipeHandle pipe) {
|
| - mContext = context;
|
| -
|
| - SensorService.MANAGER.bind(this, pipe);
|
| - }
|
| -
|
| - @Override
|
| - public void close() {}
|
| -
|
| - @Override
|
| - public void onConnectionError(MojoException e) {}
|
| -
|
| - @Override
|
| - public void addListener(int sensorType, SensorListener listener) {
|
| - new SensorForwarder(mContext, sensorType, (SensorListener.Proxy) listener);
|
| - }
|
| -}
|
|
|