Merge pull request #75 from Domi04151309/final-modifier

Add final modifier suggested by lint
This commit is contained in:
Federico Dossena
2020-06-05 17:22:05 +02:00
committed by GitHub
@@ -80,7 +80,7 @@ public class PodsService extends Service {
* <p>
* After decoding a beacon, the status is written to leftStatus, rightStatus, caseStatus, chargeL, chargeR, chargeCase so that the NotificationThread can use the information
*/
private static ArrayList<ScanResult> recentBeacons = new ArrayList<>();
private static final ArrayList<ScanResult> recentBeacons = new ArrayList<>();
private static final long RECENT_BEACONS_MAX_T_NS = 10000000000L; //10s
private void startAirPodsScanner () {
@@ -294,7 +294,7 @@ public class PodsService extends Service {
}
}
private NotificationManager mNotifyManager;
private final NotificationManager mNotifyManager;
@SuppressWarnings("WeakerAccess")
public NotificationThread () {