Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
87461e2a
Commit
87461e2a
authored
Nov 27, 2017
by
Leonardo Aramaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor indentation
parent
184cfda5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
583 additions
and
585 deletions
+583
-585
MainPresenter.java
...main/java/chat/rocket/android/activity/MainPresenter.java
+219
-219
ConnectivityManagerApi.java
...a/chat/rocket/android/service/ConnectivityManagerApi.java
+8
-8
RealmBasedConnectivityManager.java
...rocket/android/service/RealmBasedConnectivityManager.java
+234
-236
RocketChatService.java
...n/java/chat/rocket/android/service/RocketChatService.java
+122
-122
No files found.
app/src/main/java/chat/rocket/android/activity/MainPresenter.java
View file @
87461e2a
app/src/main/java/chat/rocket/android/service/ConnectivityManagerApi.java
View file @
87461e2a
app/src/main/java/chat/rocket/android/service/RealmBasedConnectivityManager.java
View file @
87461e2a
...
@@ -23,11 +23,9 @@ import chat.rocket.persistence.realm.models.RealmBasedServerInfo;
...
@@ -23,11 +23,9 @@ import chat.rocket.persistence.realm.models.RealmBasedServerInfo;
import
hugo.weaving.DebugLog
;
import
hugo.weaving.DebugLog
;
import
io.reactivex.BackpressureStrategy
;
import
io.reactivex.BackpressureStrategy
;
import
io.reactivex.Flowable
;
import
io.reactivex.Flowable
;
import
io.reactivex.Observable
;
import
io.reactivex.Single
;
import
io.reactivex.Single
;
import
io.reactivex.schedulers.Schedulers
;
import
io.reactivex.schedulers.Schedulers
;
import
io.reactivex.subjects.BehaviorSubject
;
import
io.reactivex.subjects.BehaviorSubject
;
import
io.reactivex.subjects.PublishSubject
;
/**
/**
* Connectivity management implementation.
* Connectivity management implementation.
...
...
app/src/main/java/chat/rocket/android/service/RocketChatService.java
View file @
87461e2a
...
@@ -38,7 +38,7 @@ public class RocketChatService extends Service implements ConnectivityServiceInt
...
@@ -38,7 +38,7 @@ public class RocketChatService extends Service implements ConnectivityServiceInt
/**
/**
* ensure RocketChatService alive.
* ensure RocketChatService alive.
*/
*/
/*package*/
static
void
keepAlive
(
Context
context
)
{
/*package*/
static
void
keepAlive
(
Context
context
)
{
context
.
startService
(
new
Intent
(
context
,
RocketChatService
.
class
));
context
.
startService
(
new
Intent
(
context
,
RocketChatService
.
class
));
}
}
...
...
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