From ca57723ea455943f7c85a6b314dd05dc3a954ab0 Mon Sep 17 00:00:00 2001 From: Vachounet Date: Wed, 23 Aug 2017 15:01:56 +0200 Subject: [PATCH] potter: remove sensor shim for now Change-Id: I89cb51d4bec475fb89cdc63909d0208030001c85 --- libshims/Android.mk | 8 -------- libshims/sensor.cpp | 22 ---------------------- 2 files changed, 30 deletions(-) delete mode 100644 libshims/sensor.cpp diff --git a/libshims/Android.mk b/libshims/Android.mk index 6974884..a6657eb 100644 --- a/libshims/Android.mk +++ b/libshims/Android.mk @@ -40,14 +40,6 @@ LOCAL_MODULE := libshim_ims LOCAL_MODULE_TAGS := optional include $(BUILD_SHARED_LIBRARY) -# RIL -include $(CLEAR_VARS) -LOCAL_SRC_FILES := sensor.cpp -LOCAL_SHARED_LIBRARIES := libgui -LOCAL_MODULE := libshim_ril -LOCAL_MODULE_TAGS := optional -include $(BUILD_SHARED_LIBRARY) - include $(CLEAR_VARS) LOCAL_SRC_FILES := get_process_name.c diff --git a/libshims/sensor.cpp b/libshims/sensor.cpp deleted file mode 100644 index bc3fc15..0000000 --- a/libshims/sensor.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (C) 2017 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -extern "C" int ASensor_getHandle(ASensor const* sensor) -{ - return static_cast(sensor)->getHandle(); -}