summaryrefslogtreecommitdiff
path: root/ojluni/annotations/hiddenapi/java/lang/Thread.java
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Remove API restriction on a Thread constructor."Alex Light2020-11-031-1/+1
| | | | | | | | | | This reverts commit acac1531ecb23f5a72fda42d2c8e2a3b15a3875b. Reason for revert: Removed JVMTI cts use Bug: 172313193 Bug: 172263916 Change-Id: Ic1b33908f4a2a903a994e924847e36e85badf19b
* Remove API restriction on a Thread constructor.Mathew Inwood2020-11-031-1/+1
| | | | | | | | | Signature: Ljava/lang/Thread;-><init>(Ljava/lang/ThreadGroup;Ljava/lang/String;IZ)V Bug: 172313193 Bug: 172263916 Change-Id: Icdd5da9eed12483ae4774506633103b565a5161c
* Add maxTargetSdk restriction to unused APIs.Mathew Inwood2020-10-291-2/+2
| | | | | | | | | | These are APIs that have @UnsupportedAppUsage but for which we don't have any evidence of them currently being used, so should be safe to remove from the unsupported list. Bug: 170729553 Test: Treehugger Change-Id: I783f0af90f462f6b38396f6939a2f080a5292801
* Use new UnsupportedAppUsage annotation.Artur Satayev2019-12-111-1/+1
| | | | | | | | | | | | | | | New annotation is tools/platform-compat/annotation/src/java/android/compat/annotation/UnsupportedAppUsage.java. Existing annotations in libcore/ and frameworks/ will be deleted after the migration: - libcore/dalvik/src/main/java/dalvik/annotation/compat/UnsupportedAppUsage.java - frameworks/base/core/java/android/annotation/UnsupportedAppUsage.java This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv Exempt-From-Owner-Approval: +2 by owner, by vote lost on latest patch. Change-Id: Ib5b7baa399cdc38da1d3ca622ba0ba26936b1b2d
* Merge "Document public alternatives to greylisted APIs" am: 9057a3dff0Andrei-Valentin Onea2019-06-181-1/+3
|\ | | | | | | | | | | am: 27695e515c Change-Id: Ica61c0a1d27966893d99de4a4963b182bfe036e3
| * Document public alternatives to greylisted APIsAndrei Onea2019-06-181-1/+3
| | | | | | | | | | | | | | | | | | Add known public alternatives or recommendations for greylisted APIs in libcore. Bug: 135171386 Test: m Change-Id: I9351f2ab4c15649a5ed0e25deda1f6d9769342a4
* | Thread.uncaughtExceptionPreHandler: temporarily graylist.Tobias Thierer2019-05-211-0/+1
|/ | | | | | | | | | | | | | | | Blacklisting uncaughtExceptionPreHandler in Android Pie broke a major third party app's use case. While it's too late for Pie, this CL moves the field back to the greylist for Android Q to reduce impact for that app. We still plan to blacklist this field again in a future version of Android after we've had a chance to consider whether that app's use case should be addressed by a public API. Bug: 133227292 Test: Treehugger Change-Id: I21f5bf16ed34178ae06b63e41adf84285ce8d39f
* Add stubs for hiddenapiPaul Duffin2018-10-311-0/+525
Adds stubs for ojluni classes some of whose hidden members are used by applications. Each such member is annotated with the UnsupportedAppUsage annotation. The stubs are built as part of the core-oj-hiddenapi target from which the build will extract information about the hidden class members that are used by applications. This was tested by making and then manually checking that the generated out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the same (after sorting) before and after this change. Test: see above Bug: 117818301 Change-Id: Icfe773e00ba1f96a379b705f26ef631ec34fee5e