diff options
| author | 2023-11-08 12:09:41 +0000 | |
|---|---|---|
| committer | 2023-11-08 12:32:17 +0000 | |
| commit | d2db0ba2c709d2886c41ecb30aab7794042e9b26 (patch) | |
| tree | c42eb0d72be97ae99dd4c021424a3e33633212e7 | |
| parent | 2c1ccb5a9c0ce14863fec5e83e0f516893bdd2c6 (diff) | |
Baseline BannedThrow errors added since U
This allows re-enabling the BannedThrow check.
Bug: 222738070
Test: m checkapi
Change-Id: I00372722bb5f05c4c984167383db6a9fd3f65b49
| -rw-r--r-- | core/api/lint-baseline.txt | 36 | ||||
| -rw-r--r-- | core/api/test-lint-baseline.txt | 4 |
2 files changed, 40 insertions, 0 deletions
diff --git a/core/api/lint-baseline.txt b/core/api/lint-baseline.txt index 1e6aa498f417..483d2a4d26b2 100644 --- a/core/api/lint-baseline.txt +++ b/core/api/lint-baseline.txt @@ -1,4 +1,40 @@ // Baseline format: 1.0 +BannedThrow: android.database.sqlite.SQLiteRawStatement#bindBlob(int, byte[]): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#bindBlob(int, byte[], int, int): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#bindDouble(int, double): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#bindInt(int, int): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#bindLong(int, long): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#bindNull(int): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#bindText(int, String): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#getColumnBlob(int): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#getColumnDouble(int): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#getColumnInt(int): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#getColumnLength(int): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#getColumnLong(int): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#getColumnName(int): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#getColumnText(int): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#getColumnType(int): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#readColumnBlob(int, byte[], int, int, int): + Methods must not throw unchecked exceptions +BannedThrow: android.database.sqlite.SQLiteRawStatement#step(): + Methods must not throw unchecked exceptions + + BroadcastBehavior: android.app.AlarmManager#ACTION_NEXT_ALARM_CLOCK_CHANGED: Field 'ACTION_NEXT_ALARM_CLOCK_CHANGED' is missing @BroadcastBehavior BroadcastBehavior: android.app.AlarmManager#ACTION_SCHEDULE_EXACT_ALARM_PERMISSION_STATE_CHANGED: diff --git a/core/api/test-lint-baseline.txt b/core/api/test-lint-baseline.txt index 559db514dabf..3a91e25de9e6 100644 --- a/core/api/test-lint-baseline.txt +++ b/core/api/test-lint-baseline.txt @@ -1,4 +1,8 @@ // Baseline format: 1.0 +BannedThrow: android.os.vibrator.persistence.VibrationXmlSerializer#serialize(android.os.VibrationEffect, java.io.Writer): + Methods must not throw unchecked exceptions + + BroadcastBehavior: android.app.AlarmManager#ACTION_NEXT_ALARM_CLOCK_CHANGED: Field 'ACTION_NEXT_ALARM_CLOCK_CHANGED' is missing @BroadcastBehavior BroadcastBehavior: android.app.AlarmManager#ACTION_SCHEDULE_EXACT_ALARM_PERMISSION_STATE_CHANGED: |