Skip to content
This repository was archived by the owner on Jul 2, 2025. It is now read-only.

Commit 49337b0

Browse files
resolve conflict
1 parent 9fd9d17 commit 49337b0

File tree

1 file changed

+6
-7
lines changed
  • android/canonical/app/src/main/java/com/google/samples/quickstart/canonical

1 file changed

+6
-7
lines changed

android/canonical/app/src/main/java/com/google/samples/quickstart/canonical/MapsFragment.kt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ class MapsFragment : Fragment() {
4545
private var currentLatLng : LatLng? = null
4646
private var targetMarker : Marker? = null
4747

48+
companion object {
49+
private const val LOCATION_PERMISSION_REQUEST_CODE = 1
50+
private const val ZOOM_VALUE = 14f
51+
private const val PADDING_RATIO = 1.5
52+
private const val MAP_FRAGMENT_TAG = "Mapfragment"
53+
}
4854

4955
override fun onRequestPermissionsResult(requestCode: Int,
5056
permissions: Array<String>, grantResults: IntArray) {
@@ -185,11 +191,4 @@ class MapsFragment : Fragment() {
185191

186192
setUpAutocomplete(autocompleteFragment, mapFragment)
187193
}
188-
189-
companion object {
190-
private const val LOCATION_PERMISSION_REQUEST_CODE = 1
191-
private const val ZOOM_VALUE = 14f
192-
private const val PADDING_RATIO = 1.5
193-
private const val MAP_FRAGMENT_TAG = "Mapfragment"
194-
}
195194
}

0 commit comments

Comments
 (0)