Commit cc1983b0 authored by Craig Earley's avatar Craig Earley
Browse files

cleans up some Lint warnings

parent 71f4f203
......@@ -37,9 +37,4 @@ public class AboutFragment extends Fragment {
}
@Override
public void onDetach() {
super.onDetach();
}
}
\ No newline at end of file
......@@ -117,11 +117,11 @@ public class BluetoothLeService extends Service {
return true;
}
public boolean connect(BluetoothSensor bluetoothSensor) {
public void connect(BluetoothSensor bluetoothSensor) {
btSensor = bluetoothSensor;
int mConnectionState = STATE_CONNECTING;
btSensor.setListener(listener);
return btSensor.connect(this);
btSensor.connect(this);
}
public void disconnect() {
......
......@@ -35,7 +35,5 @@ public class LabNotebookFragment extends Fragment {
}
}
@Override
public void onDetach() { super.onDetach(); }
}
\ No newline at end of file
......@@ -36,7 +36,4 @@ public class MainScreenFragment extends Fragment {
}
@Override
public void onDetach() { super.onDetach(); }
}
......@@ -388,7 +388,6 @@ public class ReadingsDatabase extends SQLiteOpenHelper {
} catch (SQLiteConstraintException e) {
e.printStackTrace();
}
} else {
}
return(success);
}
......
......@@ -35,7 +35,5 @@ public class SampleButtonsFragment extends Fragment {
}
}
@Override
public void onDetach() { super.onDetach(); }
}
\ No newline at end of file
......@@ -294,16 +294,6 @@ public class SensorSampleActivity extends AppCompatActivity {
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000, 1, locationListener);
}
@Override
protected void onPause() {
super.onPause();
}
@Override
protected void onStop() {
super.onStop();
}
@Override
protected void onDestroy() {
super.onDestroy();
......
......@@ -15,7 +15,8 @@
android:textColor="@color/dark_gray_blue"
android:textCursorDrawable="@null"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -31,7 +32,8 @@
android:layout_alignStart="@id/serverIp"
android:layout_alignEnd="@id/serverIp"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -47,7 +49,8 @@
android:layout_alignStart="@id/serverIp"
android:layout_alignEnd="@id/serverIp"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -62,7 +65,8 @@
android:textCursorDrawable="@null"
android:layout_below="@+id/username"
android:layout_alignStart="@id/serverIp"
android:layout_alignEnd="@id/serverIp" />
android:layout_alignEnd="@id/serverIp"
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -79,7 +83,8 @@
android:layout_alignStart="@id/serverIp"
android:layout_alignEnd="@id/serverIp"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<Button
android:layout_width="wrap_content"
......
......@@ -15,7 +15,8 @@
android:textColor="@color/dark_gray_blue"
android:textCursorDrawable="@null"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -31,7 +32,8 @@
android:layout_alignStart="@id/serverIp"
android:layout_alignEnd="@id/serverIp"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -47,7 +49,8 @@
android:layout_alignStart="@id/serverIp"
android:layout_alignEnd="@id/serverIp"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -62,7 +65,8 @@
android:textCursorDrawable="@null"
android:layout_below="@+id/username"
android:layout_alignStart="@id/serverIp"
android:layout_alignEnd="@id/serverIp" />
android:layout_alignEnd="@id/serverIp"
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -79,7 +83,8 @@
android:layout_alignStart="@id/serverIp"
android:layout_alignEnd="@id/serverIp"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<Button
android:layout_width="wrap_content"
......
......@@ -77,7 +77,8 @@
android:hint="@string/Spot"
android:layout_below="@id/elevation"
android:layout_alignEnd="@id/elevation"
android:layout_toEndOf="@+id/sector" />
android:layout_toEndOf="@+id/sector"
android:autofillHints="" />
<RadioGroup
android:layout_width="wrap_content"
......
......@@ -97,7 +97,8 @@
android:textCursorDrawable="@null"
android:inputType="numberDecimal"
android:singleLine="true"
android:layout_marginEnd="10dp"/>
android:layout_marginEnd="10dp"
android:autofillHints="" />
<TextView
android:layout_width="wrap_content"
android:textSize="18sp"
......@@ -113,7 +114,8 @@
android:textCursorDrawable="@null"
android:layout_weight="2"
android:singleLine="true"
android:inputType="numberDecimal"/>
android:inputType="numberDecimal"
android:autofillHints="" />
</LinearLayout>
<View
android:layout_width="wrap_content"
......@@ -136,7 +138,8 @@
android:hint="@string/readingNotes"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<Button
android:layout_width="153dp"
......
......@@ -17,7 +17,8 @@
android:layout_alignEnd="@id/serverIp"
android:textCursorDrawable="@null"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -33,7 +34,8 @@
android:layout_alignEnd="@id/serverIp"
android:layout_below="@+id/serverIp"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -49,7 +51,8 @@
android:hint="@string/username"
android:layout_below="@+id/database"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -65,7 +68,8 @@
android:layout_alignEnd="@id/serverIp"
android:textCursorDrawable="@null"
android:layout_below="@+id/username"
android:layout_centerHorizontal="true" />
android:layout_centerHorizontal="true"
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -82,7 +86,8 @@
android:fontFamily="sans-serif"
android:layout_below="@+id/password"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<Button
android:layout_width="wrap_content"
......
......@@ -18,7 +18,8 @@
android:textColor="@color/dark_gray_blue"
android:textColorHint="@color/dark_gray_blue"
android:textCursorDrawable="@null"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<EditText
android:id="@+id/database"
......@@ -34,7 +35,8 @@
android:textColor="@color/dark_gray_blue"
android:textColorHint="@color/dark_gray_blue"
android:textCursorDrawable="@null"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<EditText
android:id="@+id/username"
......@@ -50,7 +52,8 @@
android:textColor="@color/dark_gray_blue"
android:textColorHint="@color/dark_gray_blue"
android:textCursorDrawable="@null"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -66,7 +69,8 @@
android:layout_alignEnd="@id/serverIp"
android:textCursorDrawable="@null"
android:layout_below="@+id/username"
android:layout_centerHorizontal="true" />
android:layout_centerHorizontal="true"
android:autofillHints="" />
<EditText
android:layout_width="wrap_content"
......@@ -83,7 +87,8 @@
android:fontFamily="sans-serif"
android:layout_below="@+id/password"
android:layout_centerHorizontal="true"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
<Button
android:layout_width="wrap_content"
......
......@@ -87,7 +87,8 @@
android:hint="@string/Spot"
android:layout_below="@id/elevation"
android:layout_alignStart="@+id/elevation"
android:layout_alignBottom="@+id/sector" />
android:layout_alignBottom="@+id/sector"
android:autofillHints="" />
<RadioGroup
android:layout_width="wrap_content"
......
......@@ -20,6 +20,7 @@
android:layout_marginRight="4dp"
android:inputType="numberDecimal"
android:layout_marginBottom="4dp"
android:hint="Calibration Value" />
android:hint="Calibration Value"
android:autofillHints="" />
</LinearLayout>
\ No newline at end of file
......@@ -14,7 +14,8 @@
android:textColorHint="@color/dark_gray_blue"
android:layout_marginRight="4dp"
android:layout_marginBottom="4dp"
android:hint="@string/fileHost" />
android:hint="@string/fileHost"
android:autofillHints="" />
<EditText
android:id="@+id/directoryPath"
android:inputType="textUri"
......@@ -26,5 +27,6 @@
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_marginBottom="4dp"
android:hint="@string/pathOfDir" />
android:hint="@string/pathOfDir"
android:autofillHints="" />
</LinearLayout>
\ No newline at end of file
......@@ -15,6 +15,7 @@
android:layout_marginRight="4dp"
android:layout_marginBottom="4dp"
android:hint="Picture Name"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
</LinearLayout>
\ No newline at end of file
......@@ -15,6 +15,7 @@
android:layout_marginRight="4dp"
android:layout_marginBottom="4dp"
android:hint="Sample Notes"
android:inputType="" />
android:inputType=""
android:autofillHints="" />
</LinearLayout>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment