mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 15:03:37 +00:00
Fix a big bunch of lint warning
This commit is contained in:
@@ -9,7 +9,7 @@ import android.view.View;
|
||||
import com.cappielloantonio.play.ui.activity.MainActivity;
|
||||
|
||||
public class ConnectivityStatusBroadcastReceiver extends BroadcastReceiver {
|
||||
private MainActivity activity;
|
||||
private final MainActivity activity;
|
||||
|
||||
public ConnectivityStatusBroadcastReceiver(MainActivity activity) {
|
||||
this.activity = activity;
|
||||
|
||||
@@ -47,7 +47,7 @@ public class MediaButtonIntentReceiver extends BroadcastReceiver {
|
||||
private static long mLastClickTime = 0;
|
||||
|
||||
@SuppressLint("HandlerLeak")
|
||||
private static Handler mHandler = new Handler() {
|
||||
private static final Handler mHandler = new Handler() {
|
||||
|
||||
@Override
|
||||
public void handleMessage(final Message msg) {
|
||||
|
||||
Reference in New Issue
Block a user