commit | ea408d396b5a9c4d209020be58ae5b482b32d561 | [log] [tgz] |
---|---|---|
author | Muhammad Qureshi <muhammadq@google.com> | Tue Mar 26 10:16:34 2024 -0700 |
committer | Muhammad Qureshi <muhammadq@google.com> | Wed Mar 27 06:27:46 2024 +0000 |
tree | 1ee1526b9b2fdd41ef93037997a25f60fbd9ff68 | |
parent | f74488eb373db05c00af55af638c6c2d40b13c82 [diff] |
Add RequiresApi annotation for T+ method call. StatsLog.write() methods are being annotated with @RequiresApi annotations as appropriate. The usage here is already guarded but the guarding happens upstream so NewApi lint still complains. Adding RequiresApi annotation upstream close to where the sdk version check occurs fixes the complaint. Bug: 328120273 Test: m lint-check Change-Id: I311dad060bd941b99b811895048462887ed9b926