Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
e41f5211
Commit
e41f5211
authored
12 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
#17013: Set call state to CURRENT on Unhold action
parent
e9dc899f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/com/savoirfairelinux/sflphone/client/CallActivity.java
+5
-1
5 additions, 1 deletion
src/com/savoirfairelinux/sflphone/client/CallActivity.java
src/com/savoirfairelinux/sflphone/utils/CallList.java
+1
-1
1 addition, 1 deletion
src/com/savoirfairelinux/sflphone/utils/CallList.java
with
6 additions
and
2 deletions
src/com/savoirfairelinux/sflphone/client/CallActivity.java
+
5
−
1
View file @
e41f5211
...
...
@@ -184,9 +184,13 @@ public class CallActivity extends Activity implements OnClickListener
mCall
.
setCallState
(
SipCall
.
CALL_STATE_HOLD
);
setCallStateDisplay
(
newState
);
}
else
if
(
newState
.
equals
(
"UNHOLD"
))
{
mCall
.
setCallState
(
SipCall
.
CALL_STATE_UNHOLD
);
mCall
.
setCallState
(
SipCall
.
CALL_STATE_CURRENT
);
setCallStateDisplay
(
"CURRENT"
);
}
else
{
mCall
.
setCallState
(
SipCall
.
CALL_STATE_NONE
);
setCallStateDisplay
(
newState
);
}
}
private
void
setCallStateDisplay
(
String
newState
)
{
...
...
This diff is collapsed.
Click to expand it.
src/com/savoirfairelinux/sflphone/utils/CallList.java
+
1
−
1
View file @
e41f5211
...
...
@@ -125,7 +125,7 @@ public class CallList extends BroadcastReceiver
}
else
if
(
newState
.
equals
(
"HOLD"
))
{
call
.
setCallState
(
SipCall
.
CALL_STATE_HOLD
);
}
else
if
(
newState
.
equals
(
"UNHOLD"
))
{
call
.
setCallState
(
SipCall
.
CALL_STATE_
UNHOLD
);
call
.
setCallState
(
SipCall
.
CALL_STATE_
CURRENT
);
}
else
{
call
.
setCallState
(
SipCall
.
CALL_STATE_NONE
);
}
...
...
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