Fixed
Status Update
Comments
jn...@google.com <jn...@google.com>
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 979e76bef05fa5f47b004f197fe10254228c0738
Author: Neda Topoljanac <tneda@google.com>
Date: Mon May 17 13:53:45 2021
Replace TargetApi annotation with RequiresApi
Fixing Lint isues that @TargetApi is banned.
Bug: 187447093, 187447094
Test: Existing ones
Relnote: "Replaced @TargetApi with @RequiresApi."
Change-Id: I0184a41bcc214a5033f431f969f36ab5b9c174ae
M wear/wear-complications-data/api/restricted_current.txt
M wear/wear-complications-data/src/main/java/androidx/wear/complications/ComplicationHelperActivity.java
M wear/wear-watchface-data/api/restricted_current.txt
M wear/wear-watchface-data/src/main/java/android/support/wearable/watchface/accessibility/ContentDescriptionLabel.java
https://android-review.googlesource.com/1709508
Branch: androidx-main
commit 979e76bef05fa5f47b004f197fe10254228c0738
Author: Neda Topoljanac <tneda@google.com>
Date: Mon May 17 13:53:45 2021
Replace TargetApi annotation with RequiresApi
Fixing Lint isues that @TargetApi is banned.
Bug: 187447093, 187447094
Test: Existing ones
Relnote: "Replaced @TargetApi with @RequiresApi."
Change-Id: I0184a41bcc214a5033f431f969f36ab5b9c174ae
M wear/wear-complications-data/api/restricted_current.txt
M wear/wear-complications-data/src/main/java/androidx/wear/complications/ComplicationHelperActivity.java
M wear/wear-watchface-data/api/restricted_current.txt
M wear/wear-watchface-data/src/main/java/android/support/wearable/watchface/accessibility/ContentDescriptionLabel.java
Description
The following lint check is baseline suppressed in your project. Please remove all instances of this suppression from
wear/wear-complications-data/lint-baseline.xml
and address the associated issues before your next stable release.1 instance(s) of `BanTargetApiAnnotation
Uses @TargetApi annotation
Found in
src/main/java/androidx/wear/complications/ComplicationHelperActivity.java
at line 59:@TargetApi(Build.VERSION_CODES.N)