,
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.app.simplitend.locationupdates;
|
||||
|
||||
import static com.app.simplitend.patientgeofencing.PatientLocationUpdatesReceiver.LOCATION_REQUEST_TAG;
|
||||
import static com.google.android.gms.location.Priority.PRIORITY_HIGH_ACCURACY;
|
||||
|
||||
import android.Manifest;
|
||||
import android.content.Context;
|
||||
@@ -50,8 +51,9 @@ public class DefaultLocationClient implements LocationClient{
|
||||
throw locationException;
|
||||
}
|
||||
|
||||
locationRequest = new LocationRequest.Builder(Priority.PRIORITY_HIGH_ACCURACY, interval)
|
||||
locationRequest = new LocationRequest.Builder(PRIORITY_HIGH_ACCURACY, interval)
|
||||
.setMinUpdateDistanceMeters(50) // receive updates only if user has moved over 100 meters
|
||||
.setPriority(PRIORITY_HIGH_ACCURACY)
|
||||
.build();
|
||||
|
||||
locationCallback = new LocationCallback() {
|
||||
|
||||
@@ -536,6 +536,9 @@ public class CreateContactFragment extends Fragment implements WelcomeContracts.
|
||||
binding.caregiverCheckView.setVisibility(View.VISIBLE);
|
||||
binding.caregiverCheck.setChecked(true);
|
||||
binding.caregiverCheck.setEnabled(false);
|
||||
|
||||
binding.relationship.setClickable(false);
|
||||
binding.relationship.setFocusable(false);
|
||||
binding.relationship.setEnabled(false);
|
||||
|
||||
binding.relationOptional.setVisibility(View.GONE);
|
||||
|
||||
@@ -320,7 +320,7 @@
|
||||
android:drawablePadding="10dp"
|
||||
|
||||
android:inputType="textCapSentences"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
|
||||
android:maxLength="255"
|
||||
android:digits="@string/allowed_alphanumeric_space_special"
|
||||
|
||||
@@ -140,6 +140,7 @@
|
||||
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="vertical"
|
||||
android:singleLine="true"
|
||||
|
||||
android:maxLength="255"
|
||||
android:digits="@string/allowed_alphanumeric_space_special"
|
||||
|
||||
@@ -602,8 +602,8 @@
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/add_med_info"
|
||||
android:visibility="gone"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
|
||||
Reference in New Issue
Block a user