Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
goldfish
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
device
generic
goldfish
Commits
4daa0e90
Commit
4daa0e90
authored
6 years ago
by
Android Build Role Account android-build-prod
Browse files
Options
Downloads
Plain Diff
Snap for 5661002 from
1b07b766
to q-keystone-qcom-release
Change-Id: I66cb992d89e23d4a119658dc7ad1a2e471d66321
parents
86591284
1b07b766
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ril/reference-ril.c
+7
-1
7 additions, 1 deletion
ril/reference-ril.c
with
7 additions
and
1 deletion
ril/reference-ril.c
+
7
−
1
View file @
4daa0e90
...
@@ -1147,6 +1147,12 @@ static void requestSignalStrength(void *data __unused, size_t datalen __unused,
...
@@ -1147,6 +1147,12 @@ static void requestSignalStrength(void *data __unused, size_t datalen __unused,
if
(
err
<
0
&&
count
<
minNumOfElements
)
goto
error
;
if
(
err
<
0
&&
count
<
minNumOfElements
)
goto
error
;
}
}
// remove gsm/cdma/evdo,just keep LTE
int
numSignalsToIgnore
=
sizeof
(
RIL_SignalStrength_v5
)
/
sizeof
(
int
);
for
(
int
i
=
0
;
i
<
numSignalsToIgnore
;
++
i
)
{
response
[
i
]
=
INT_MAX
;
}
RIL_onRequestComplete
(
t
,
RIL_E_SUCCESS
,
response
,
sizeof
(
response
));
RIL_onRequestComplete
(
t
,
RIL_E_SUCCESS
,
response
,
sizeof
(
response
));
at_response_free
(
p_response
);
at_response_free
(
p_response
);
...
@@ -2397,7 +2403,7 @@ static void requestGetRadioCapability(void *data, size_t datalen, RIL_Token t)
...
@@ -2397,7 +2403,7 @@ static void requestGetRadioCapability(void *data, size_t datalen, RIL_Token t)
radioCapability
.
version
=
RIL_RADIO_CAPABILITY_VERSION
;
radioCapability
.
version
=
RIL_RADIO_CAPABILITY_VERSION
;
radioCapability
.
session
=
0
;
radioCapability
.
session
=
0
;
radioCapability
.
phase
=
0
;
radioCapability
.
phase
=
0
;
radioCapability
.
rat
=
0
;
radioCapability
.
rat
=
RAF_LTE
;
radioCapability
.
logicalModemUuid
[
0
]
=
'\0'
;
radioCapability
.
logicalModemUuid
[
0
]
=
'\0'
;
radioCapability
.
status
=
RC_STATUS_SUCCESS
;
radioCapability
.
status
=
RC_STATUS_SUCCESS
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment