potter: remove sensor shim for now
Change-Id: I89cb51d4bec475fb89cdc63909d0208030001c85
This commit is contained in:
@@ -40,14 +40,6 @@ LOCAL_MODULE := libshim_ims
|
|||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
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)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_SRC_FILES := get_process_name.c
|
LOCAL_SRC_FILES := get_process_name.c
|
||||||
|
|||||||
@@ -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 <gui/Sensor.h>
|
|
||||||
|
|
||||||
extern "C" int ASensor_getHandle(ASensor const* sensor)
|
|
||||||
{
|
|
||||||
return static_cast<android::Sensor const*>(sensor)->getHandle();
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user