Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fc2ec83 authored by Andrew Scull's avatar Andrew Scull
Browse files

Resolve error-prone warnings.

Objects used for synchronisation should be final and inner classes
should be static, if possible.

Change-Id: I2be5bae504835660fad752048b2ab9c7076fafc0
Fix: 38442000
Test: Build
parent 74fa79e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -150,12 +150,12 @@ public class LockSettingsService extends ILockSettings.Stub {
    private final NotificationManager mNotificationManager;
    private final UserManager mUserManager;
    private final IActivityManager mActivityManager;
    private final SyntheticPasswordManager mSpManager;

    private final KeyStore mKeyStore;

    private boolean mFirstCallToVold;
    protected IGateKeeperService mGateKeeperService;
    private SyntheticPasswordManager mSpManager;

    /**
     * The UIDs that are used for system credential storage in keystore.
+1 −1
Original line number Diff line number Diff line
@@ -546,7 +546,7 @@ class LockSettingsStorage {
        void initialize(SQLiteDatabase db);
    }

    class DatabaseHelper extends SQLiteOpenHelper {
    static class DatabaseHelper extends SQLiteOpenHelper {
        private static final String TAG = "LockSettingsDB";
        private static final String DATABASE_NAME = "locksettings.db";