Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
frameworks_opt_telephony
Commits
0613e459
Commit
0613e459
authored
9 years ago
by
Robert Greenwalt
Committed by
Android (Google) Code Review
9 years ago
Browse files
Options
Download
Plain Diff
Merge "Fix handling of connect req while connected." into mnc-dr-dev
parents
19922eb9
3f545d69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
src/java/com/android/internal/telephony/dataconnection/DataConnection.java
...oid/internal/telephony/dataconnection/DataConnection.java
+3
-9
No files found.
src/java/com/android/internal/telephony/dataconnection/DataConnection.java
View file @
0613e459
...
...
@@ -1848,18 +1848,12 @@ public final class DataConnection extends StateMachine {
switch
(
msg
.
what
)
{
case
EVENT_CONNECT:
{
ConnectionParams
cp
=
(
ConnectionParams
)
msg
.
obj
;
// either add this new apn context to our set or
// update the existing cp with the latest connection generation number
mApnContexts
.
put
(
cp
.
mApnContext
,
cp
);
if
(
DBG
)
{
log
(
"DcActiveState: EVENT_CONNECT cp="
+
cp
+
" dc="
+
DataConnection
.
this
);
}
if
(
mApnContexts
.
containsKey
(
cp
.
mApnContext
))
{
log
(
"DcActiveState ERROR already added apnContext="
+
cp
.
mApnContext
);
}
else
{
mApnContexts
.
put
(
cp
.
mApnContext
,
cp
);
if
(
DBG
)
{
log
(
"DcActiveState msg.what=EVENT_CONNECT RefCount="
+
mApnContexts
.
size
());
}
}
notifyConnectCompleted
(
cp
,
DcFailCause
.
NONE
,
false
);
retVal
=
HANDLED
;
break
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment