Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Silence-Android
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
270
Issues
270
List
Boards
Labels
Service Desk
Milestones
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Silence
Silence-Android
Commits
dcd0e28f
Commit
dcd0e28f
authored
Apr 17, 2020
by
Bastien Le Querrec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not print a warning about subbscription ID on old API versions
parent
16ac76fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/org/smssecure/smssecure/crypto/storage/SilenceSessionStore.java
...ssecure/smssecure/crypto/storage/SilenceSessionStore.java
+1
-1
No files found.
src/org/smssecure/smssecure/crypto/storage/SilenceSessionStore.java
View file @
dcd0e28f
...
...
@@ -42,7 +42,7 @@ public class SilenceSessionStore implements SessionStore {
public
SilenceSessionStore
(
Context
context
,
MasterSecret
masterSecret
,
int
subscriptionId
)
{
Log
.
w
(
TAG
,
"SilenceSessionStore for subscription ID "
+
subscriptionId
);
if
(
subscriptionId
==
-
1
)
Log
.
w
(
TAG
,
"Subscription ID should not be -1!"
);
if
(
subscriptionId
==
-
1
&&
Build
.
VERSION
.
SDK_INT
>=
22
)
Log
.
w
(
TAG
,
"Subscription ID should not be -1!"
);
this
.
context
=
context
.
getApplicationContext
();
this
.
masterSecret
=
masterSecret
;
...
...
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