Skip to content

Commit

Permalink
repackage files
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjun committed Oct 9, 2017
1 parent cf6e9f9 commit 6a3ee7b
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:name=".LocationAware"
android:name=".global.LocationAware"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<!--<intent-filter>-->
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/in/arjsna/mapsalarm/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.android.gms.maps.OnMapReadyCallback;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.model.LatLng;
import in.arjsna.mapsalarm.global.PermissionUtils;

// TODO: 9/10/17
//<div>Icons made by <a href="http://www.freepik.com" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import android.content.Context;
import dagger.Component;
import in.arjsna.mapsalarm.LocationAware;
import in.arjsna.mapsalarm.global.LocationAware;
import in.arjsna.mapsalarm.di.modules.ApplicationModule;
import in.arjsna.mapsalarm.di.qualifiers.ApplicationContext;
import javax.inject.Singleton;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import android.support.v7.app.AppCompatActivity;
import dagger.Module;
import dagger.Provides;
import in.arjsna.mapsalarm.LocationProvider;
import in.arjsna.mapsalarm.global.LocationProvider;
import in.arjsna.mapsalarm.di.qualifiers.ActivityContext;
import in.arjsna.mapsalarm.di.scopes.ActivityScope;
import in.arjsna.mapsalarm.locationalarm.LocationAlarmMVPContract;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package in.arjsna.mapsalarm;
package in.arjsna.mapsalarm.global;

import android.location.Location;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package in.arjsna.mapsalarm;
package in.arjsna.mapsalarm.global;

import android.app.Application;
import in.arjsna.mapsalarm.di.components.DaggerApplicationComponent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package in.arjsna.mapsalarm;
package in.arjsna.mapsalarm.global;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import com.google.android.gms.location.FusedLocationProviderClient;
import com.google.android.gms.location.LocationServices;
import in.arjsna.mapsalarm.di.qualifiers.ActivityContext;
import in.arjsna.mapsalarm.global.AppLocationListener;
import javax.inject.Inject;

public class LocationProvider {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package in.arjsna.mapsalarm;
package in.arjsna.mapsalarm.global;

import android.Manifest;
import android.app.AlertDialog;
Expand All @@ -26,6 +26,7 @@
import android.support.v4.app.DialogFragment;
import android.support.v7.app.AppCompatActivity;
import android.widget.Toast;
import in.arjsna.mapsalarm.R;

/**
* Utility class for access to runtime permissions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import android.Manifest;
import android.content.pm.PackageManager;
import android.location.Location;
import android.location.LocationManager;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.content.ContextCompat;
Expand All @@ -14,8 +13,7 @@
import com.google.android.gms.maps.OnMapReadyCallback;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.model.LatLng;
import in.arjsna.mapsalarm.LocationProvider;
import in.arjsna.mapsalarm.PermissionUtils;
import in.arjsna.mapsalarm.global.PermissionUtils;
import in.arjsna.mapsalarm.R;
import in.arjsna.mapsalarm.mvpbase.BaseActivity;
import javax.inject.Inject;
Expand All @@ -29,11 +27,8 @@ public class LocationAlarmActivity extends BaseActivity

private GoogleMap mMap;
private boolean mPermissionDenied = false;
private LocationManager locationManager;
private FrameLayout mMapHolderLayout;

@Inject public LocationProvider locationProvider;

@Inject
public LocationAlarmMVPContract.ILocationPresenter<LocationAlarmMVPContract.ILocationAlarmView>
locationPresenter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package in.arjsna.mapsalarm.locationalarm;

import android.content.Context;
import in.arjsna.mapsalarm.LocationProvider;
import in.arjsna.mapsalarm.global.LocationProvider;
import in.arjsna.mapsalarm.di.qualifiers.ActivityContext;
import in.arjsna.mapsalarm.mvpbase.BasePresenter;
import javax.inject.Inject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import in.arjsna.mapsalarm.LocationAware;
import in.arjsna.mapsalarm.global.LocationAware;
import in.arjsna.mapsalarm.di.components.DaggerActivityComponent;
import in.arjsna.mapsalarm.di.modules.ActivityModule;

Expand Down

0 comments on commit 6a3ee7b

Please sign in to comment.