Skip to content

Commit

Permalink
Merge pull request #797 from gerhardol/feature/lint-cleanups
Browse files Browse the repository at this point in the history
lint cleanups
  • Loading branch information
gerhardol authored Jun 11, 2019
2 parents 4f70dc4 + fc3a39c commit 0e9b29a
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/res/layout/account_row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/account_list_icon_text"
android:textSize="20dp"
android:textSize="20sp"
android:textStyle="bold"
android:textColor="#ffffffff"
android:layout_gravity="center"/>
Expand Down
3 changes: 2 additions & 1 deletion app/res/layout/history_row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
android:id="@+id/history_list_emblem"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="8dp" />
android:layout_marginRight="8dp"
android:contentDescription="@string/Sport"/>

<TextView
android:id="@+id/history_list_distance"
Expand Down
3 changes: 2 additions & 1 deletion app/res/layout/step_button.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginRight="0dp" />
android:layout_marginRight="0dp"
android:contentDescription="@string/Edit_step" />

<TextView
android:id="@+id/step_goal_value"
Expand Down
1 change: 0 additions & 1 deletion app/src/org/runnerup/db/DBHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
import java.util.ArrayList;
import java.util.List;

@TargetApi(Build.VERSION_CODES.FROYO)
public class DBHelper extends SQLiteOpenHelper implements
Constants {

Expand Down
3 changes: 2 additions & 1 deletion app/src/org/runnerup/export/SyncManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import android.Manifest;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.support.v4.util.LongSparseArray;
import android.support.v7.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.ContentValues;
Expand Down Expand Up @@ -88,7 +89,7 @@ public class SyncManager {
private Activity mActivity = null;
private Context mContext = null;
private final Map<String, Synchronizer> synchronizers = new HashMap<>();
private final Map<Long, Synchronizer> synchronizersById = new HashMap<>();
private final LongSparseArray<Synchronizer> synchronizersById = new LongSparseArray<>();

private ProgressDialog mSpinner = null;

Expand Down
1 change: 0 additions & 1 deletion app/src/org/runnerup/view/ManualActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
import java.util.Calendar;
import java.util.Date;

@TargetApi(Build.VERSION_CODES.FROYO)
public class ManualActivity extends AppCompatActivity {

TitleSpinner manualSport = null;
Expand Down
1 change: 0 additions & 1 deletion app/src/org/runnerup/widget/ClassicSpinner.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import android.widget.AdapterView;
import android.widget.SpinnerAdapter;

@TargetApi(Build.VERSION_CODES.FROYO)
public class ClassicSpinner extends AppCompatSpinner implements SpinnerInterface {
SpinnerPresenter mPresenter;

Expand Down
7 changes: 7 additions & 0 deletions common/src/main/res/values-ca/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
<string name="Repetitions">Repeticions</string>
<string name="Date">Data</string>
<string name="GPS_satellites">Satèl·lits GPS</string>
<string name="GPS_status_accuracy">GPS: %1$d/%2$d sat. (%3$s)</string>
<string name="GPS_level_poor">GPS deficient</string>
<string name="GPS_level_acceptable">GPS aceptable</string>
<string name="GPS_level_good">GPS correcte</string>
<string name="Start_GPS">Habilita el GPS</string>
<string name="Duration">Duració</string>
<string name="Cancel">Cancel·la</string>
Expand Down Expand Up @@ -111,6 +115,9 @@
<string name="Synchronizing">Sincronitzant:</string>
<string name="synchronizing_feed">S\'està sincronitzant les notícies...</string>
<string name="OK">D\'acord</string>
<string name="accounts_category_connected">Administra les connexions</string>
<string name="Show_disabled_accounts">Mostra els comptes inhabilitats</string>
<string name="Hide_disabled_accounts">Amaga els comptes inhabilitats</string>
<string name="Clear_uploads">Neteja els enviaments</string>
<string name="Disconnect_account">Desconnecta el compte</string>
<string name="Edit_activity">Edita l\'activitat</string>
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
android.enableD8.desugaring=false
android.enableR8=false

0 comments on commit 0e9b29a

Please sign in to comment.