Skip to content
Snippets Groups Projects
Commit 95197796 authored by Slava Monich's avatar Slava Monich
Browse files

[gbinder] Pass 0x0f priority to service list request. JB#42956

Based on examination of servicemanager source code, it seems to be
a better idea because it's interpreted as a bitmask.
parent f069c3a5
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,8 @@ G_DEFINE_TYPE(GBinderServiceManagerAidl2,
GBINDER_TYPE_SERVICEMANAGER_AIDL)
#define PARENT_CLASS gbinder_servicemanager_aidl2_parent_class
#define DUMP_FLAG_PRIORITY_DEFAULT (8)
#define DUMP_FLAG_PRIORITY_DEFAULT (0x08)
#define DUMP_FLAG_PRIORITY_ALL (0x0f)
static
GBinderLocalRequest*
......@@ -56,7 +57,7 @@ gbinder_servicemanager_aidl2_list_services_req(
GBinderLocalRequest* req = gbinder_client_new_request(client);
gbinder_local_request_append_int32(req, index);
gbinder_local_request_append_int32(req, DUMP_FLAG_PRIORITY_DEFAULT);
gbinder_local_request_append_int32(req, DUMP_FLAG_PRIORITY_ALL);
return req;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment