Loading tools/layoutlib/bridge/src/android/view/Choreographer_Delegate.java +1 −0 Original line number Diff line number Diff line Loading @@ -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(); Loading Loading
tools/layoutlib/bridge/src/android/view/Choreographer_Delegate.java +1 −0 Original line number Diff line number Diff line Loading @@ -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(); Loading