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
72d79df3
Commit
72d79df3
authored
Jan 13, 2020
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c3825d78
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
src/main/java/com/common/utils/Collector.java
+0
-4
src/main/java/tech/starwin/mvp/presenter/UploadPresenter.java
+0
-2
No files found.
src/main/java/com/common/utils/Collector.java
View file @
72d79df3
...
...
@@ -71,7 +71,6 @@ public class Collector {
*/
public
static
List
<
CollectInfoEntity
>
getUploadData
(
Context
context
)
{
List
<
CollectInfoEntity
>
infos1
=
null
;
//SDK-NOLOG-START
infos1
=
Stream
.
of
(
InfoType
.
MACHINE_TYPE
,
InfoType
.
PERMISSION
)
.
map
(
new
Function
<
InfoType
,
CollectInfoEntity
>()
{
@Override
...
...
@@ -113,7 +112,6 @@ public class Collector {
if
(
location
!=
null
)
{
infos1
.
add
(
location
);
}
//SDK-NOLOG-END
return
infos1
;
}
...
...
@@ -137,7 +135,6 @@ public class Collector {
return
arr
;
}
});
//SDK-CONTACT-START
List
<
ContactEntity
>
contactEntityList
=
DataBaseHelper
.
getContacts
();
List
<
CollectInfoEntity
>
infos2
=
Stream
.
of
(
InfoType
.
CONTACT
,
InfoType
.
INSTALLED_APP
,
InfoType
.
DEVICE_INFO
)
.
map
(
new
Function
<
InfoType
,
CollectInfoEntity
>()
{
...
...
@@ -154,7 +151,6 @@ public class Collector {
}
});
infos1
.
addAll
(
infos2
);
//SDK-CONTACT-END
// CollectInfoEntity location = Collector.getStoreEntity(InfoType.LOCATION, context, null);
//
...
...
src/main/java/tech/starwin/mvp/presenter/UploadPresenter.java
View file @
72d79df3
...
...
@@ -254,7 +254,6 @@ public class UploadPresenter extends BasePresenter<UploadApi> {
uploadAllData
(
action
,
context
);
return
;
}
//SDK-CONTACT-START
Observable
.
just
(
true
)
.
observeOn
(
Schedulers
.
io
())
.
map
(
aBoolean
->
{
...
...
@@ -304,7 +303,6 @@ public class UploadPresenter extends BasePresenter<UploadApi> {
public
void
onFinish
()
{
}
});
//SDK-CONTACT-END
}
...
...
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