Skip to content

Commit

Permalink
Fix some lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed May 23, 2015
1 parent 2a7d258 commit 17051fa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/biz/bokhorst/xprivacy/ActivityBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.AppCompatActivity;
import android.util.TypedValue;
import android.view.View;
import android.widget.TextView;

@SuppressLint("Registered")
public class ActivityBase extends ActionBarActivity {
public class ActivityBase extends AppCompatActivity {
private int mThemeId;
private Bitmap[] mCheck = null;

Expand Down Expand Up @@ -118,6 +118,7 @@ else if (state.asked)
return getOnDemandCheckBox();
}

@SuppressWarnings("deprecation")
private void buildCheckBoxes() {
mCheck = new Bitmap[4];

Expand Down
1 change: 1 addition & 0 deletions src/biz/bokhorst/xprivacy/ActivityMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -1261,6 +1261,7 @@ protected List<ApplicationInfoEx> doInBackground(Object... params) {
return ApplicationInfoEx.getXApplicationList(ActivityMain.this, mProgressDialog);
}

@SuppressWarnings("deprecation")
@Override
protected void onPreExecute() {
super.onPreExecute();
Expand Down
1 change: 1 addition & 0 deletions src/biz/bokhorst/xprivacy/ActivityShare.java
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@ protected List<AppState> doInBackground(int[]... params) {
return apps;
}

@SuppressWarnings("deprecation")
@Override
protected void onPreExecute() {
super.onPreExecute();
Expand Down
1 change: 1 addition & 0 deletions src/biz/bokhorst/xprivacy/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
import android.view.ViewGroup;
import android.widget.Toast;

@SuppressWarnings("deprecation")
public class Util {
private static boolean mPro = false;
private static boolean mLog = true;
Expand Down

0 comments on commit 17051fa

Please sign in to comment.