Loading services/core/java/com/android/server/accounts/AccountManagerService.java +10 −2 Original line number Diff line number Diff line Loading @@ -5087,10 +5087,18 @@ public class AccountManagerService logStatement.bindLong(4, callingUid); logStatement.bindString(5, tableName); logStatement.bindLong(6, userDebugDbInsertionPoint); try { logStatement.execute(); } catch (IllegalStateException e) { // Guard against crash, DB can already be closed // since this statement is executed on a handler thread Slog.w(TAG, "Failed to insert a log record. accountId=" + accountId + " action=" + action + " tableName=" + tableName + " Error: " + e); } finally { logStatement.clearBindings(); } } } LogRecordTask logTask = new LogRecordTask(action, tableName, accountId, userAccount, callingUid, userAccount.debugDbInsertionPoint); Loading Loading
services/core/java/com/android/server/accounts/AccountManagerService.java +10 −2 Original line number Diff line number Diff line Loading @@ -5087,10 +5087,18 @@ public class AccountManagerService logStatement.bindLong(4, callingUid); logStatement.bindString(5, tableName); logStatement.bindLong(6, userDebugDbInsertionPoint); try { logStatement.execute(); } catch (IllegalStateException e) { // Guard against crash, DB can already be closed // since this statement is executed on a handler thread Slog.w(TAG, "Failed to insert a log record. accountId=" + accountId + " action=" + action + " tableName=" + tableName + " Error: " + e); } finally { logStatement.clearBindings(); } } } LogRecordTask logTask = new LogRecordTask(action, tableName, accountId, userAccount, callingUid, userAccount.debugDbInsertionPoint); Loading