Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-client-android
Commits
225f82a6
Commit
225f82a6
authored
Mar 08, 2021
by
Adrien Béraud
Browse files
service move package
Change-Id: I33b09a8488ca922ca7622cc3bba688c5f24cc28a
parent
141d450e
Changes
8
Show whitespace changes
Inline
Side-by-side
ring-android/app/src/main/AndroidManifest.xml
View file @
225f82a6
...
...
@@ -206,12 +206,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:exported=
"false"
android:foregroundServiceType=
"dataSync"
/>
<service
android:name=
".service
s
.SyncService"
android:name=
".service.SyncService"
android:description=
"@string/data_transfer_service_description"
android:exported=
"false"
android:foregroundServiceType=
"dataSync"
/>
<service
android:name=
".service
s
.LocationSharingService"
android:name=
".service.LocationSharingService"
android:exported=
"false"
android:foregroundServiceType=
"location"
/>
...
...
ring-android/app/src/main/java/cx/ring/dependencyinjection/JamiInjectionComponent.java
View file @
225f82a6
...
...
@@ -67,10 +67,10 @@ import cx.ring.services.ContactServiceImpl;
import
cx.ring.services.DataTransferService
;
import
cx.ring.services.DeviceRuntimeServiceImpl
;
import
cx.ring.services.HistoryServiceImpl
;
import
cx.ring.service
s
.LocationSharingService
;
import
cx.ring.service.LocationSharingService
;
import
cx.ring.services.NotificationServiceImpl
;
import
cx.ring.services.SharedPreferencesServiceImpl
;
import
cx.ring.service
s
.SyncService
;
import
cx.ring.service.SyncService
;
import
cx.ring.settings.AccountFragment
;
import
cx.ring.settings.SettingsFragment
;
import
cx.ring.share.ShareFragment
;
...
...
ring-android/app/src/main/java/cx/ring/fragments/LocationSharingFragment.java
View file @
225f82a6
...
...
@@ -79,7 +79,7 @@ import cx.ring.R;
import
cx.ring.application.JamiApplication
;
import
cx.ring.views.AvatarFactory
;
import
cx.ring.databinding.FragLocationSharingBinding
;
import
cx.ring.service
s
.LocationSharingService
;
import
cx.ring.service.LocationSharingService
;
import
cx.ring.utils.ConversationPath
;
import
cx.ring.utils.TouchClickListener
;
import
io.reactivex.rxjava3.android.schedulers.AndroidSchedulers
;
...
...
ring-android/app/src/main/java/cx/ring/service/BootReceiver.java
View file @
225f82a6
...
...
@@ -29,7 +29,6 @@ import javax.inject.Inject;
import
cx.ring.application.JamiApplication
;
import
net.jami.services.PreferencesService
;
import
cx.ring.services.SyncService
;
public
class
BootReceiver
extends
BroadcastReceiver
{
private
static
final
String
TAG
=
BootReceiver
.
class
.
getSimpleName
();
...
...
ring-android/app/src/main/java/cx/ring/service/JamiJobService.java
View file @
225f82a6
...
...
@@ -30,7 +30,6 @@ import androidx.annotation.RequiresApi;
import
androidx.core.content.ContextCompat
;
import
cx.ring.application.JamiApplication
;
import
cx.ring.services.SyncService
;
@RequiresApi
(
api
=
Build
.
VERSION_CODES
.
LOLLIPOP
)
public
class
JamiJobService
extends
JobService
...
...
ring-android/app/src/main/java/cx/ring/service
s
/LocationSharingService.java
→
ring-android/app/src/main/java/cx/ring/service/LocationSharingService.java
View file @
225f82a6
...
...
@@ -17,7 +17,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package
cx.ring.service
s
;
package
cx.ring.service
;
import
android.Manifest
;
import
android.app.Notification
;
...
...
@@ -70,11 +70,10 @@ import cx.ring.fragments.ConversationFragment;
import
net.jami.services.AccountService
;
import
net.jami.services.CallService
;
import
cx.ring.services.NotificationServiceImpl
;
import
cx.ring.utils.ConversationPath
;
import
io.reactivex.rxjava3.android.schedulers.AndroidSchedulers
;
import
io.reactivex.rxjava3.core.Observable
;
import
io.reactivex.rxjava3.core.ObservableSource
;
import
io.reactivex.rxjava3.core.Observer
;
import
io.reactivex.rxjava3.core.Single
;
import
io.reactivex.rxjava3.disposables.CompositeDisposable
;
import
io.reactivex.rxjava3.schedulers.Schedulers
;
...
...
ring-android/app/src/main/java/cx/ring/service
s
/SyncService.java
→
ring-android/app/src/main/java/cx/ring/service/SyncService.java
View file @
225f82a6
...
...
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
package
cx.ring.service
s
;
package
cx.ring.service
;
import
android.app.Notification
;
import
android.app.PendingIntent
;
...
...
@@ -41,6 +41,7 @@ import javax.inject.Inject;
import
cx.ring.R
;
import
cx.ring.application.JamiApplication
;
import
cx.ring.client.HomeActivity
;
import
cx.ring.services.NotificationServiceImpl
;
public
class
SyncService
extends
Service
{
public
static
final
int
NOTIF_SYNC_SERVICE_ID
=
1004
;
...
...
ring-android/app/src/main/java/cx/ring/services/HistoryServiceImpl.java
View file @
225f82a6
...
...
@@ -46,7 +46,7 @@ import static cx.ring.fragments.ConversationFragment.KEY_PREFERENCE_CONVERSATION
/**
* Implements the necessary Android related methods for the {@link HistoryService}
*/
public
class
HistoryServiceImpl
extends
net
.
jami
.
services
.
HistoryService
{
public
class
HistoryServiceImpl
extends
HistoryService
{
private
static
final
String
TAG
=
HistoryServiceImpl
.
class
.
getSimpleName
();
private
final
static
String
DATABASE_NAME
=
"history.db"
;
private
final
static
String
LEGACY_DATABASE_KEY
=
"legacy"
;
...
...
Write
Preview
Supports
Markdown
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