Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Network
KDE Connect Android
Commits
7da63109
Commit
7da63109
authored
Apr 19, 2019
by
Nicolas Fella
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add nonnull annotation
parent
ccd92aca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/org/kde/kdeconnect/Helpers/SMSHelper.java
src/org/kde/kdeconnect/Helpers/SMSHelper.java
+2
-0
src/org/kde/kdeconnect/Plugins/SystemvolumePlugin/SystemvolumeFragment.java
...nect/Plugins/SystemvolumePlugin/SystemvolumeFragment.java
+1
-1
No files found.
src/org/kde/kdeconnect/Helpers/SMSHelper.java
View file @
7da63109
...
@@ -40,6 +40,7 @@ import java.util.concurrent.locks.Condition;
...
@@ -40,6 +40,7 @@ import java.util.concurrent.locks.Condition;
import
java.util.concurrent.locks.Lock
;
import
java.util.concurrent.locks.Lock
;
import
java.util.concurrent.locks.ReentrantLock
;
import
java.util.concurrent.locks.ReentrantLock
;
import
androidx.annotation.NonNull
;
import
androidx.annotation.RequiresApi
;
import
androidx.annotation.RequiresApi
;
public
class
SMSHelper
{
public
class
SMSHelper
{
...
@@ -221,6 +222,7 @@ public class SMSHelper {
...
@@ -221,6 +222,7 @@ public class SMSHelper {
this
.
threadID
=
threadID
;
this
.
threadID
=
threadID
;
}
}
@NonNull
public
String
toString
()
{
public
String
toString
()
{
return
this
.
threadID
.
toString
();
return
this
.
threadID
.
toString
();
}
}
...
...
src/org/kde/kdeconnect/Plugins/SystemvolumePlugin/SystemvolumeFragment.java
View file @
7da63109
...
@@ -46,7 +46,7 @@ public class SystemvolumeFragment extends ListFragment implements Sink.UpdateLis
...
@@ -46,7 +46,7 @@ public class SystemvolumeFragment extends ListFragment implements Sink.UpdateLis
private
boolean
tracking
;
private
boolean
tracking
;
@Override
@Override
public
void
onViewCreated
(
View
view
,
Bundle
savedInstanceState
)
{
public
void
onViewCreated
(
@NonNull
View
view
,
Bundle
savedInstanceState
)
{
super
.
onViewCreated
(
view
,
savedInstanceState
);
super
.
onViewCreated
(
view
,
savedInstanceState
);
getListView
().
setDivider
(
null
);
getListView
().
setDivider
(
null
);
setListAdapter
(
new
SinkAdapter
(
getContext
(),
new
Sink
[
0
]));
setListAdapter
(
new
SinkAdapter
(
getContext
(),
new
Sink
[
0
]));
...
...
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