Skip to content
This repository has been archived by the owner on Feb 14, 2019. It is now read-only.

Commit

Permalink
ignore several lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
CityVibes committed Jan 9, 2018
1 parent 3f5545b commit da8b198
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions devicesetup/lint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
<issue id="IconDensities" severity="ignore"/>
<issue id="InvalidPackage" severity="ignore"/>
<issue id="RtlEnabled" severity="ignore"/>
<issue id="TrulyRandom" severity="ignore"/>
<issue id="ObsoleteLintCustomCheck" severity="ignore"/>
</lint>
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.particle.android.sdk.devicesetup.ui;

import android.annotation.SuppressLint;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
Expand Down Expand Up @@ -292,6 +293,7 @@ private void hideProgressDialog() {
}
}

@SuppressLint("StaticFieldLeak")
private void startConnectWorker() {
// first, make sure we haven't actually been called twice...
if (connectToApTask != null) {
Expand Down
3 changes: 2 additions & 1 deletion devicesetup/src/main/res/layout/particle_activity_login.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
android:imeActionId="@+id/action_log_in"
android:imeActionLabel="@string/action_log_in_short"
android:imeOptions="actionUnspecified"
android:inputType="textPassword"/>
android:inputType="textPassword"
tools:ignore="InvalidImeActionId"/>

<RelativeLayout
android:layout_width="match_parent"
Expand Down
4 changes: 2 additions & 2 deletions devicesetup/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">

<!-- Base application theme. -->
<style name="ParticleSetupTheme" parent="Theme.AppCompat">
Expand Down Expand Up @@ -32,7 +32,7 @@
</style>

<style name="PopupMenu" parent="PopupMenuParent">
<item name="android:dropDownSelector">@drawable/abc_list_selector_holo_dark</item>
<item name="android:dropDownSelector" tools:ignore="PrivateResource">@drawable/abc_list_selector_holo_dark</item>
<!--<item name="android:popupBackground">@drawable/abc_popup_background_mtrl_mult</item>-->
<item name="android:popupBackground">@android:color/white</item>
</style>
Expand Down

0 comments on commit da8b198

Please sign in to comment.