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
2ebd2d84
Commit
2ebd2d84
authored
6 years ago
by
Adrien Béraud
Committed by
Sébastien Blin
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
smartlist: fix crash when entering raw ringid
Change-Id: Icad0d99257def8baf34bc2ee442b1a936ad2bd7e
parent
7e45b0ef
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ring-android/libringclient/src/main/java/cx/ring/smartlist/SmartListPresenter.java
+2
-2
2 additions, 2 deletions
...t/src/main/java/cx/ring/smartlist/SmartListPresenter.java
with
2 additions
and
2 deletions
ring-android/libringclient/src/main/java/cx/ring/smartlist/SmartListPresenter.java
+
2
−
2
View file @
2ebd2d84
...
@@ -158,9 +158,9 @@ public class SmartListPresenter extends RootPresenter<SmartListView> {
...
@@ -158,9 +158,9 @@ public class SmartListPresenter extends RootPresenter<SmartListView> {
}
else
{
}
else
{
if
(
uri
.
isRingId
())
{
if
(
uri
.
isRingId
())
{
mCallContact
=
currentAccount
.
getContactFromCache
(
uri
);
mCallContact
=
currentAccount
.
getContactFromCache
(
uri
);
mCompositeDisposable
.
add
(
mContactService
.
l
oadContact
Data
(
mCallContact
)
mCompositeDisposable
.
add
(
mContactService
.
getL
oad
ed
Contact
(
currentAccount
.
getAccountID
(),
mCallContact
)
.
observeOn
(
mUiScheduler
)
.
observeOn
(
mUiScheduler
)
.
subscribe
(
()
->
view
.
displayContact
(
mCallC
ontact
)));
.
subscribe
(
view
:
:
displayContact
,
e
->
Log
.
e
(
TAG
,
"Can't load c
ontact
"
)));
}
else
{
}
else
{
view
.
hideSearchRow
();
view
.
hideSearchRow
();
view
.
setLoading
(
true
);
view
.
setLoading
(
true
);
...
...
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