commit | c7770d6ebf47ee839dfecac96534fdf8923f1ea3 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Mon May 22 17:49:58 2017 +0100 |
committer | Andrew Scull <ascull@google.com> | Mon May 22 18:05:40 2017 +0100 |
tree | 7cb13b34e66275b0829aab8ad3ce9175c1acc377 | |
parent | 87a1ec2b1eff7a3ec8acdb6b76f02fe47b296935 [diff] [blame] |
accounts: resolve error-prone warnings - missing @Override annotations - inner classes should be static if possible Bug: 38496625 Test: build Change-Id: Ic6a647b894036266dfa8f9908cec6049952cd38d
diff --git a/services/core/java/com/android/server/accounts/AccountManagerService.java b/services/core/java/com/android/server/accounts/AccountManagerService.java index 36c3f7d..511c9de 100644 --- a/services/core/java/com/android/server/accounts/AccountManagerService.java +++ b/services/core/java/com/android/server/accounts/AccountManagerService.java
@@ -4944,6 +4944,7 @@ this.userDebugDbInsertionPoint = userDebugDbInsertionPoint; } + @Override public void run() { SQLiteStatement logStatement = userAccount.statementForLogging; logStatement.bindLong(1, accountId); @@ -6060,7 +6061,7 @@ } } - private class NotificationId { + private static class NotificationId { final String mTag; private final int mId;