Skip to content

Commit a6d342c

Browse files
committed
Added location functionalities.
1 parent aecea41 commit a6d342c

7 files changed

Lines changed: 1 addition & 1 deletion

File tree

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
68 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

app/src/main/java/com/nlinterface/activities/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class MainActivity : AppCompatActivity() {
101101

102102
if (checkCallingOrSelfPermission( Manifest.permission.ACCESS_FINE_LOCATION ) ==
103103
PackageManager.PERMISSION_GRANTED) {
104-
val locationService = Intent(this, LocationGetter::class.java)
104+
val locationService = Intent(this, LocationGetter()::class.java)
105105
startService(locationService)
106106
}
107107

0 commit comments

Comments
 (0)