.
This commit is contained in:
4
Makefile
4
Makefile
@@ -64,8 +64,8 @@ WARNINGS = -Wall
|
||||
INCLUDES = -I$(INCLUDE_DIR)
|
||||
BASE_FLAGS = -fPIC -fvisibility=hidden
|
||||
FULL_CFLAGS = $(BASE_FLAGS) $(CFLAGS) $(DEFINES) $(WARNINGS) $(INCLUDES) \
|
||||
-MMD -MP -fPIC $(shell pkg-config --cflags $(PKGS))
|
||||
FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared \
|
||||
-MMD -MP $(shell pkg-config --cflags $(PKGS))
|
||||
FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared -fPIC \
|
||||
$(shell pkg-config --libs $(LDPKGS))
|
||||
DEBUG_FLAGS = -g
|
||||
RELEASE_FLAGS =
|
||||
|
||||
@@ -178,6 +178,19 @@ vendor_qti_ims_radio_response(
|
||||
{
|
||||
VendorQtiImsRadio* self = THIS(user_data);
|
||||
const char* iface = gbinder_remote_request_interface(req);
|
||||
if(gutil_strv_contains((const GStrV*)ims_radio_response_ifaces, iface)){
|
||||
GBinderReader reader;
|
||||
gbinder_remote_request_init_reader(req, &reader);
|
||||
gint32 serial;
|
||||
if (gbinder_reader_read_int32(&reader, &serial)) {
|
||||
g_hash_table_lookup(self->table,serial);
|
||||
}
|
||||
|
||||
*status = GBINDER_STATUS_OK;
|
||||
}else{
|
||||
GINFO("[%s] Unexpected %s %u", self->name,iface,code);
|
||||
*status = GBINDER_STATUS_FAILED;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
static
|
||||
|
||||
Reference in New Issue
Block a user