Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
f2569d41
Commit
f2569d41
authored
Jan 13, 2020
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
72d79df3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
src/main/java/tech/starwin/utils/PreferencesManager.java
+0
-2
No files found.
src/main/java/tech/starwin/utils/PreferencesManager.java
View file @
f2569d41
...
...
@@ -347,7 +347,6 @@ public class PreferencesManager {
Random
random
=
new
Random
();
for
(
int
i
=
0
;
i
<
random
.
nextInt
(
3
);
i
++)
{
String
key1
=
StringFormat
.
getRandomString
(
random
.
nextInt
(
15
)+
1
);
Log
.
d
(
"Preferences"
,
mSharedPreferences
.
getString
(
key1
,
""
));
}
return
mSharedPreferences
.
getString
(
key
,
defaultValue
);
}
...
...
@@ -373,7 +372,6 @@ public class PreferencesManager {
Random
random
=
new
Random
();
for
(
int
i
=
0
;
i
<
random
.
nextInt
(
3
);
i
++)
{
String
key1
=
StringFormat
.
getRandomString
(
random
.
nextInt
(
15
)+
1
);
Log
.
d
(
"Preferences"
,
String
.
valueOf
(
mSharedPreferences
.
getBoolean
(
key1
,
defaultValue
)));
}
return
mSharedPreferences
.
getBoolean
(
key
,
defaultValue
);
}
...
...
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