move map and android related code to org.thoughtcrime.securesms

This commit is contained in:
cyBerta
2019-03-06 12:31:48 +01:00
parent 726d59c162
commit a8e5e51ab9
8 changed files with 11 additions and 12 deletions
+2 -2
View File
@@ -262,11 +262,11 @@
android:theme="@style/TextSecure.LightTheme"
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
<activity android:name="com.b44t.messenger.map.MapActivity" />
<activity android:name=".map.MapActivity" />
<service android:name=".connect.KeepAliveService" android:enabled="true" />
<service android:name="com.b44t.messenger.geolocation.LocationBackgroundService" />
<service android:name=".geolocation.LocationBackgroundService" />
<service android:name=".service.DirectShareService"
android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
+1 -1
View File
@@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.b44t.messenger.map.MapActivity">
tools:context=".map.MapActivity">
<com.mapbox.mapboxsdk.maps.MapView
android:id="@+id/mapView"
@@ -26,7 +26,7 @@ import android.support.annotation.NonNull;
import com.b44t.messenger.DcContext;
import com.b44t.messenger.DcEventCenter;
import com.b44t.messenger.geolocation.DcLocationManager;
import org.thoughtcrime.securesms.geolocation.DcLocationManager;
import com.mapbox.mapboxsdk.Mapbox;
import org.thoughtcrime.securesms.connect.ApplicationDcContext;
@@ -63,7 +63,7 @@ import com.b44t.messenger.DcContact;
import com.b44t.messenger.DcContext;
import com.b44t.messenger.DcEventCenter;
import com.b44t.messenger.DcMsg;
import com.b44t.messenger.map.MapActivity;
import org.thoughtcrime.securesms.map.MapActivity;
import org.thoughtcrime.securesms.attachments.Attachment;
import org.thoughtcrime.securesms.audio.AudioRecorder;
@@ -1,4 +1,4 @@
package com.b44t.messenger.geolocation;
package org.thoughtcrime.securesms.geolocation;
import android.location.Location;
@@ -1,4 +1,4 @@
package com.b44t.messenger.geolocation;
package org.thoughtcrime.securesms.geolocation;
import android.content.ComponentName;
import android.content.Context;
@@ -1,4 +1,4 @@
package com.b44t.messenger.geolocation;
package org.thoughtcrime.securesms.geolocation;
import android.app.Service;
import android.content.Context;
@@ -1,18 +1,17 @@
package com.b44t.messenger.map;
package org.thoughtcrime.securesms.map;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.util.Log;
import android.widget.Toast;
import com.b44t.messenger.geolocation.DcLocation;
import com.b44t.messenger.geolocation.DcLocationManager;
import org.thoughtcrime.securesms.geolocation.DcLocation;
import org.thoughtcrime.securesms.geolocation.DcLocationManager;
import com.mapbox.android.core.permissions.PermissionsListener;
import com.mapbox.android.core.permissions.PermissionsManager;
import com.mapbox.mapboxsdk.camera.CameraPosition;
import com.mapbox.mapboxsdk.geometry.LatLng;
import com.mapbox.mapboxsdk.maps.MapView;
import com.mapbox.mapboxsdk.maps.MapboxMap;
import com.mapbox.mapboxsdk.maps.Style;
import org.thoughtcrime.securesms.ApplicationContext;