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
e6e6018d
Commit
e6e6018d
authored
5 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
requests: check for null
Change-Id: Icd6c7237cbfb3812c73e411a8187257211d39c4b
parent
670c0bfd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ring-android/app/src/main/java/cx/ring/contactrequests/ContactRequestsFragment.java
+4
-2
4 additions, 2 deletions
...java/cx/ring/contactrequests/ContactRequestsFragment.java
with
4 additions
and
2 deletions
ring-android/app/src/main/java/cx/ring/contactrequests/ContactRequestsFragment.java
+
4
−
2
View file @
e6e6018d
...
...
@@ -50,7 +50,7 @@ import cx.ring.viewholders.SmartListViewHolder;
public
class
ContactRequestsFragment
extends
BaseSupportFragment
<
ContactRequestsPresenter
>
implements
ContactRequestsView
,
SmartListViewHolder
.
SmartListListeners
{
static
final
String
TAG
=
ContactRequestsFragment
.
class
.
getSimpleName
();
private
static
final
String
TAG
=
ContactRequestsFragment
.
class
.
getSimpleName
();
public
static
final
String
ACCOUNT_ID
=
TAG
+
"accountID"
;
@BindView
(
R
.
id
.
requests_list
)
...
...
@@ -84,7 +84,9 @@ public class ContactRequestsFragment extends BaseSupportFragment<ContactRequests
if
(
bundle
!=
null
&&
bundle
.
containsKey
(
ACCOUNT_ID
))
{
String
accountId
=
bundle
.
getString
(
ACCOUNT_ID
);
presenter
.
updateAccount
(
accountId
);
getArguments
().
putString
(
ACCOUNT_ID
,
accountId
);
Bundle
arguments
=
getArguments
();
if
(
arguments
!=
null
)
arguments
.
putString
(
ACCOUNT_ID
,
accountId
);
}
}
...
...
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