summaryrefslogtreecommitdiff
path: root/ojluni/annotations/hiddenapi/java/lang/Thread.java
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2019-05-21 16:20:50 +0100
committerTobias Thierer <tobiast@google.com>2019-05-21 16:41:04 +0100
commit32b9949e5f242d8617bd77b61cad5d5df102d687 (patch)
tree3dd0a09f7fd30c16836c6f30f6fca5b837e6147e /ojluni/annotations/hiddenapi/java/lang/Thread.java
parent1547c9b0ac236828aedc5efec1c2ca4fbee99d45 (diff)
Thread.uncaughtExceptionPreHandler: temporarily graylist.
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
Diffstat (limited to 'ojluni/annotations/hiddenapi/java/lang/Thread.java')
-rw-r--r--ojluni/annotations/hiddenapi/java/lang/Thread.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/ojluni/annotations/hiddenapi/java/lang/Thread.java b/ojluni/annotations/hiddenapi/java/lang/Thread.java
index aade5930d1..2e8557b276 100644
--- a/ojluni/annotations/hiddenapi/java/lang/Thread.java
+++ b/ojluni/annotations/hiddenapi/java/lang/Thread.java
@@ -441,6 +441,7 @@ public class Thread implements java.lang.Runnable {
private volatile java.lang.Thread.UncaughtExceptionHandler uncaughtExceptionHandler;
+ @UnsupportedAppUsage
private static volatile java.lang.Thread.UncaughtExceptionHandler uncaughtExceptionPreHandler;
@SuppressWarnings({"unchecked", "deprecation", "all"})