Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b058e9bc authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by android-build-merger
Browse files

Merge "Add missing setAccessible to Choreographer\'s threadInstance" into nyc-dev am: 5b758bf2

am: 11bd8bd2

* commit '11bd8bd2':
  Add missing setAccessible to Choreographer's threadInstance

Change-Id: Id60ec561196df7691d5de37001b101b4c8b5159c
parents 1f713a4d 11bd8bd2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@ public class Choreographer_Delegate {
    public static void dispose() {
        try {
            Field threadInstanceField = Choreographer.class.getDeclaredField("sThreadInstance");
            threadInstanceField.setAccessible(true);
            @SuppressWarnings("unchecked") ThreadLocal<Choreographer> threadInstance =
                    (ThreadLocal<Choreographer>) threadInstanceField.get(null);
            threadInstance.remove();